Skip to content

sararic/Lasers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lasers!

“Lasers!” is without the shadow of a doubt, the best game ever written. Just feast your eyes upon this magnificient screenshot,

Screenshot from the best game of all times

A sniper is aiming at you with a laser, inside a room covered with mirrors (mondays, uh). Luckily, you have up to 16 blue obstacles at your disposal to block the laser. Will you be able to do it?

Installation

Install the necessary dependences, libsdl2-2.0-0, libsdl2-image-2.0-0, libsdl2-ttf-2.0-0, and also automake. On Debian based distributions,

sudo apt update
sudo apt install libsdl2-2.0-0\
  libsdl2-image-2.0-0\
  libsdl2-ttf-2.0-0\
  automake

Clone this repository, configure, make, and make install,

git clone https://github.com/sbacco/Lasers.git
cd Lasers
autoreconf -i
./configure
make
sudo make install

You can now run Lasers!,

lasers

Todo list

  • Add an in-depth documentation, where I go into all of the interesting mathematical details.
  • Fix bug when an obstacle has to be placed over the shooter. Maybe avoid the situation entirely?
  • Figure out a way to compute the maximum number of bounce-offs that will be needed, to make computations faster.
  • Implement nicer behavior when the player tries to put an obstacle onto an existing object (right now, it systematically goes to the right).
  • Have some pretty mouse pointers to go with the game.

About

A mathematical puzzle game involving lasers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published