Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1.04 KB

README.md

File metadata and controls

12 lines (9 loc) · 1.04 KB

Game of Life

A small practice project for doing Test Driven Development and doing basic 2D stuff with JavaFX.

Test Driven Development

I wanted to do a different kind of kata. One I didn't know the script of in advance. So I figured Conway's Game of Life would be a nice and easy one. It's a nice one indeed, but (at least for me) not easy. Had to start over a few times before I got it "right".

Rendering the game in a JavaFX canvas

As Bob Martin says: UI's require "fiddling". I didn't TDD this one. This learned me some basic JavaFX stuff, like using the Canvas and using AnimationTimer and Timeline.

Running the application with Eclipse

Import the Maven project in Eclipse using File - Import - Maven - Existing Maven Projects. Then run the application by starting nl.dricus.gameoflife.app.Application.