Skip to content

go-cristian/ConwayGameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conway's game of life

Implementation for the famous game of life. This projects is a result from the Software Bootcamp (by Carlos Obregon), also is inspired in the book Elegant Objects.

World Class

The main idea of the world instance is to evolve with every step, and every call to next() should create a new World state, based on a true immutable object.

File based

When using the FileWorld class you can use the same functionality as the RealWorld class, so now you can provide an String with the file path, to load the entire game.

Game Class

This is just a call in a loop printing the value of the current step

Tests

All the code was created using TDD, so it was more easy to create the implementation.

Made with ❤️ by Cristian Gómez.

License

Copyright 2018 Cristian Gómez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages