Skip to content

infi/get-the-flag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get the Flag

Reference Screenshot

A simple JS canvas game, almost without libraries.

You are a player that can freely move in 2D space. The objective is to touch a certain random point (the "flag"), after which your movement speed gets faster, your score is incremented, and the flag gets randomly relocated.

Use WASD or the arrow keys to move.

Upcoming

  • Mobile controls
  • Confetti effect when a flag gets captured

Live

https://get-the-flag.vercel.app

Development

npm i -D
npx snowpack dev

Production build

npm i -D
npx snowpack build

The output will be in build/.