Skip to content

roonyh/go_game_jam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chuck-A-Blast! චක-බ්ලාස්ට් :D

Chuck-A-Blast is a board game that used to be somewhat popular in my country some time ago.

How to play

  • The board contains 45 holes, arranged in a cross shape, and 44 pieces. The lucky hole that is not occupied is right in the middle.

  • Objective of the game is to get rid of as many pieces as possible.

  • There is only one way to remove a piece. When two pieces and a hole is next to each other, with a piece in the middle the piece on the side can be moved over the piece in the middle to the hole in the side. And then the piece in the middle is Blasted and removed from the board.

  • You go from <piece> <piece> <hole> to <hole> <hole> <piece>

  • Game goes on until there are no such valid moves.

  • Use arrow keys select a piece to move. Press space to hold the piece. Possible target holes, if any, are now shown. Press the arrow key on the direction of the target hole.

How to run

If you have Go, clone the repo and get termloop and run main.go and game.go

git clone https://github.com/RoonyH/go_game_jam
go get -u github.com/JoelOtter/termloop 
cd go_game_jam
go run main.go game.go

If you don't have Go or don't want to build, here are some pre-built binaries.

MacOS 64bit
Linux 64bit
Windows 64bit

Behind the scenes

This implementation of Chuck-A-Blast is pure Go.

Apart from the standard Go packages its only dependancy is the awesome termloop

This is written in a weekend for the codelympics project Go Game Jam

alert!

The code is written in few hours and I am new to Go. The code is pretty bad :( I will refactor it soon.

If you are looking inside I appologize for what ever horrible things you may see.

About

Base repo for the Go Game Jam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%