flik

command module
v0.0.0-...-379e3e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 11 Imported by: 0

README

flik

Check it out on rhaeguard.itch.io/flik!

Idea

When me and my brother were little, we used to come up with ideas for different games with what we had available to us. One of those was a game where the goal was to hit and knock off all bottle caps of the opponent from the board. Those bottle caps were all Coca-Cola, Fanta, Sprite caps which all had their own colors. We used to play it on a chessboard.

Rules
  • Each side gets 6 pieces that are spread randomly into 6 of possible 12 positions
  • A player tries to hit the opponent's cap by launching their own cap towards the opponent, and the goal is to knock caps off the playing field.
  • You can only launch your own cap
  • Game ends when only one player's caps remain on the board
  • Caps have life points and both hitting and getting hit takes life points
Running and Building

On Windows:

There's already Windows and Linux executable files provided in the bin folder. Alternatively you can build and run from the source.

# from the root of the project
go run .
# from the root of the project
go build -o bin\ -ldflags "-H=windowsgui -s -w" -tags release . # on windows
go build -o bin/ -ldflags "-s -w" -tags sdl . # on linux
# an executable file should be generated in the bin directory 

Credits

References

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL