Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Bits Out

This is a small (less than 40 lines) Java program that implements Light's Out in the console.  The fun part about this, though, is the actual implementation.  The board is actually just the first 25 bits in an integer!  See, this is interesting because that means the "logic" behind the button presses is just xor'ing an integer onto the board!  All in all, this creates an extremely cross platform engine for a Light's Out game.

This code is under the GPL so if you use it, please give a little credit.  Thanks for looking!

Brandon Smith
Ohio State University student

About

An ASCII Light's Out implementation that stores the board in an integer and does bit shifts to change lights. Java.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages