{"repo":"fiorix/cat-o-licious","free":true,"listed":false,"github":"https://github.com/fiorix/cat-o-licious","clone":"git clone https://github.com/fiorix/cat-o-licious.git","description":"Cat game written in Go","language":"Go","stars":104,"topics":["go","golang","sdl2","game","game-development","kids","webassembly"],"license":null,"category":"game-templates","readme_excerpt":"cat-o-licious This is a simple cat game written in Go, inspired by flappy. My kids were too excited to see flappy's source code and wanted to design and code their own game, so that's what we did together on a rainy Sunday. The original version uses SDL (like flappy) and works on MacOS, Linux and Windows. In the wasm directory there's an experimental version in WebAssembly. Most of the code is copied from the SDL version, except for the media handling parts and lack of audio. This allow kids to play the game in a web browser. Try playing in browser now! Install If you're not here for the code, and just want to play, you can download binary releases from https://github.com/fiorix/cat-o-licious/releases/. Keys Arrows left and right, as well as A and D for lateral movement. F for full screen, and Q to quit. Playing You're the cat, and food falls from the top of the screen. The more good stuff you lick the more points you make. The more points you make the more food drops, and it gets really hard to get out of the way of the broccoli, tomatos and pineapples. My kids love veggies btw, but they say that cats don't. Building from source Tested on MacOS, Linux, and Windows. Requires cgo. Install go-sdl2 bindings: More information on go-sdl2. go-sdl2 ships with static SDL2 in .go-sdl2-libs/ so you don't have to install SDL for your OS. Get the code, build static binary: The assets directory must be relative to the path of the binary. Assets include fonts, images, and sounds used by th","default_branch":null,"files":null,"tree":[],"storefront":"/r/fiorix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fiorix/cat-o-licious/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}