Coder Social home page Coder Social logo

game-life's Introduction

game-Life

3d course, IntelliJ IDEA Project with MVC architecture

Game_Life - basic algorithms and classes of the game (console version) + set of tests for the app

Game_Life_FX - GUI based on pack from Game_Life

Game_Life_FX_client, Game_Life_server - client\server GUI version of app based on pack from Game_Life

About the game

This game is the model of cellular automaton. There is a field shared on cells, each cell has the life or is empty. The configuration of live cells at the moment is called the population. One step to next population executes with these rules:

  • the new life appears in the empty cell if there is exactly three live cells among 8 neighbors
  • the live cell continues to live if there is exactly two or three live cells among 8 neighbors
  • the live cell dies if there is another num of live cells among 8 neighbors

How to run gui version

  1. Load Game_Life and Game_Life_FX in the same repository
  2. Run Game_Life_FX as IntelliJ IDEA Project

How to run client\server gui version

  1. Load Game_Life, Game_Life_FX_client, Game_Life_server in the same repository
  2. Run Game_Life_server as IntelliJ IDEA Project
  3. Run Game_Life_FX_client as IntelliJ IDEA Project

About the app

Game_Life_FX

At first you need to write sizes of bow and make new box. By ones new generation shows with special button, to automize it choose the num of generation and start counter.

It's possible to change color of cells.

Game_Life_FX_client

The same functional + options to play without borders and choose the num of live cells for new box.

Bugs

Yeah, client\server version has a lot of defects

Screenshots

game-life's People

Contributors

igelschnauze avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.