Giter Site home page Giter Site logo

conway-game-of-life's Introduction

Game of Life

Overview

This is the parallel version of Game of Life in java

Enhancements

  • Using a volatile image, this allows me to draw on a hardware accelerated image. this takes some of the load from the processor.

  • Using standard .rle file format

  • Hold down shift to zoom in further.

  • Not drawing dead cells. The dead cells are represented as a black background. The grid lines are highlighted with spaces from the drawing of alive cells.

  • Choose your threading style! you can choose from ForkJoin, ExecuterService, or SimpleThreading.

Known bugs

  • Currently the zoom and "viewport's" state are saved which causes a index error if a new bord is created that is smaller than where the view's current state is. i.e. if I have dragged my bord to the left of looking at the 1000th column and i create a bord that is 100x100 an error will occur

  • mouse events are kept queued as FIFO its very annoying to zoom and if there are any zooms left on the stack and the shift key is pressed, it will zoom out.

  • After selection many presets the grid no longer draws properly.

  • The next button is not ran on a thread. This was initially on a separate thread however if the user continues to click it creates a many calls for the connection to run thus, inadvertently holding up the UI.

conway-game-of-life's People

Contributors

kf4x avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.