Code Monkey home page Code Monkey logo

raku-game-amazing's People

Contributors

altai-man avatar arnesom avatar

Watchers

 avatar  avatar

raku-game-amazing's Issues

[amazing-gtk] Tunnel vision mode

Add a tunnel vision mode, where the user moves straight ahead (with the space bar), using the arrow keys to make a turn. The maze is always shown with the user facing up, so will be rotated when the user makes a turn. Reuse internal functionality made for is-traversable-wall for this, and make them public.

Mazepacks

Generate and distribute mazepacks (collection of maze files), either as downloadable zip-files or online and let the program handle it behind the scenes.

Maze rotation is broken

The test used letters, so did not check for rotation of the characters themselves, only that the positions had changed.

[amazing-gtk] A better colour scheme

Choose a better colour scheme for the current position, user path and the shortest path. The colours are better than in «amazing-termbox», but could be better.

[amazing-gtk] Add verbose mode

Enable with the [--verbose | -v] command line option.

This will enable printing of some useful information, mainly for debugging purposes.

[amazing.gtk - The Editor] Faster coverage map

Rewrite the code highlighting the coverage (when the maze is untraversable). The current implementation does one cell at a time, and is slow - especially on larger mazes (or slower pc's).

[Game::Amazing] Difficulty method

Add a difficulty method, by moving the code from «maze-solver-summary».

It gives a value that indicates the perceived difficulty of traversing the maze.

[amazing-gtk] Disable cursor movement

Figure out how to disable cursor movement, or how to set the cursor in the middle of the maze (workaround). The problem is that after we "print" the text to the screen, the cursor remains after the last character insterted (the exit). When the user presses the down or right arrow key, the program gives an annoying beep to indicate that the user tries to move the cursor out of the text. The current workaround is to set the focus on the «Help« button, as that tackles the four arrow keys. Note that the result is that the «Exit» key is highligthed after a left arrow keypress. And pressing Return after that will acrtivate the button and terminate the program.

Two-Player Game

Two players, each on their own computer. They start out in their own corner (the entrance or the exit), and the goal is to reach the other corner (exit or entrance) first (before the other player). The path is not shown. The maze is only shown when both users are ready. Either show the maze the same way for both users, or rotate it (180 degrees) for the second player so that they both start out at the top left corner.

  • Alt A. Use one game as the master, and the other as client; i.e. direct communication between them, and not via a server.
  • Alt B. A Server, hosted by me.
  • Alt C. A server that is part of the module, so the users can run it themselves.

[Game::Amazing] Maze rotation

Add a method for rotating the maze (90, 180 and 270 degrees). It rotates the cell values, and changes the values. (E.g. rotating '╗' to the right gives '╚'.)

Dynamic entrance and exit placement

Make it possible to have the entrance and exit in other corners than the current hard coded positions (entrance = upper left, exit = lower right)

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.