Skip to content

wait-what/dark-square-no-click

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dark square, no click!

A game inspired by White tile, don't tap it!

Screenshot

Game rules

  • There is a 4x4 (customizable) grid with 3 targets (customizable)
  • You have 15 seconds (customizable) to click as many white squares as you can
  • The game ends when you click a black square or run out of time
  • You can use left/right mouse buttons and Z/X on your keyboard to click the squares
  • To restart, press space

For a better experience, disable vsync! On linux with the mesa driver, this can be accomplished using export vblank_mode=0

Pre-built downloads

DOWNLOAD HERE if you don't feel like building it yourself

Windows and Defender will probabably get mad at the files! If you do not trust my builds, that's on you - compile it yourself

NOTE: The pre-built binaries are treated with strip bin (from GNU binutils) and upx --best --lzma bin

Building and customization

  • Make sure you have rust installed and properly configured
  • Set the values you want near the top of main.rs
  • cargo run --release

Why no WebAssembly?

I have no idea how to do that. I am using not3fl/macroquad, which is supposed to somewhat have WASM support? I would really appreciate it if someone added support for WASM and made a pull/merge request

Sounds

The sounds are taken from here. I believe these are free to use (I hope). If they are not, open an issue in this repository to tell me.

License

The project is licensed under MIT