Giter VIP home page Giter VIP logo

akari's Introduction

Akari

The classic Japanese puzzle game Akari (あかり) was second project I built when learning Java and the basics of object oriented programming. At the time of the project, I had just over 6 weeks of programming experience from writing my first hello world!.

Akari is ultimately derived from the continuative form of the verb 明る (akaru) meaning “to become bright/clear,” in turn giving way to the word generally meaning “light” or “lamp” (written as 明かり, 灯 or 燈)

The objective of the game is to place light bulbs on the grid in such a way that all the black cells are illuminated, and the following rules are satisfied:

  1. A light bulb illuminates its own cell as well as any white cells in the same row or column until reaching a black cell or the edge of the grid.
  2. Black cells cannot contain light bulbs.
  3. Each white cell must be illuminated by exactly one light bulb.
  4. Light bulbs cannot be adjacent to each other, neither vertically nor horizontally.

The repository also contains automated marking code and Test files written by Professor Lyndon While, the CITS1001, Introduction to Object Oriented Programming, unit coordinator

Play Akari

Ensure that you have Java installed.

Compile game with javac Akari.java

After game has been successfully compiled, play game by running the command java Akari and following the prompt on the screen. After level has been selected, a window should pop up and allow you to play the game

akari's People

Contributors

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