Skip to content

render the game #10

@juicyGentlemen

Description

@juicyGentlemen

render function
draw the playing field
draw each players names and scores
draw the net
draw player 1 and player 2
draw the ball

"const framePerSecond = 50 ;"

game function
call update function (game logic)
call render function

set interval for game at 1000 / framePerSecond

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions