Skip to content

Game made using the p5.js library following Progressive Web App (PWA) standards

Notifications You must be signed in to change notification settings

AntonioPedro9/rum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rum

Rum is a PWA game developed in Javascript with p5.js and p5.play using the factory design pattern, in this game you are an ovule and need to avoid sperm, the longer you survive the better.

Click to play!

How it works:

In p5.js we have two main prebuilt functions, setup() and draw().

setUp()

The setup() function is executed at the beginning of the program, in this project I used it to:

  • Create the canvas where objects will be rendered
  • Instantiate game objects
  • Restart the game

draw()

The draw() function is executed at each frame update, we can consider it as the game loop, in this project I used it to:

  • Render game entities on screen
  • Check the game's business rules

About

Game made using the p5.js library following Progressive Web App (PWA) standards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published