Skip to content

Browser-based game about coffee, made using JS, canvas & Konva.js

Notifications You must be signed in to change notification settings

mn113/coffeecoders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live link

Play the game - it takes under 5 minutes.

About

Coffee Coders is a browser-based 2D office simulation game. It was programmed in 8 days for Itch.io's Coffee Jam. The object of the game is to manage a team of coders, fuelling them with coffee and snacks to ensure that they deliver sufficient lines of code by their deadline, without being overwhelmed by bugs.

Screenshot

Technology

The game uses Konva.js to render multiple layers of the scene to an HTML canvas. Konva extends the functionality of the canvas object, adding events, layers, animations and a range of drawing tools.

Integrated with the rendering code is some object-oriented Javascript using ES6 classes (the game's source has not been transpiled for pre-ES6 browsers).

The game loop is a simple setInterval and the roguelike stats-based core of the game mechanic uses plain and simple addition and subtraction.

Assets

Graphics were derived from free-usage works by no2games, Naarshakta, DiceBear avatars and Barista Icons. Anything extra was created in Photoshop.

Sounds were found on FreeSound.org and edited with Audacity.

The overall size of the game's assets is:

  • code: 44KB
  • graphics: 154KB
  • sound: 3.7MB

Feedback

Please Raise an issue or post a comment over at Itch.io.

Licence

The code in this repo is released under an AGPLv3 licence.

About

Browser-based game about coffee, made using JS, canvas & Konva.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published