Skip to content

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

Notifications You must be signed in to change notification settings

dirkgroot/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages