Giter VIP home page Giter VIP logo

binary-puzzle's Introduction

๐Ÿงฉ Binary Puzzle

๐Ÿ“Š Details

Aiden Gardner 11SDD6 Year 11 Term 2 BinaryPuzzle assessment 2021. Solves 6x6 binary puzzles using three rules. Available in HTML and Python.

๐Ÿ“œ Licence

This project is licensed under the MIT licence. For more info, see the group project Wiki page.

๐Ÿ Python

The Python version is located under python/ and should be accessed via cd python before running main.py (due to relative imports). Dependencies may be installed through pip install -r requirements.txt. Colorama module is optional. An executable file is automatically created on each push, though it doesn't have colorama support enabled.

If the Python main.py file by itself isn't working, it's preferable to Run on Repl.it instead, but other options are available. If the program displays a bunch of replacement characters (๏ฟฝ) instead of displaying a title, use the --no-title flag. If you want to disable terminal colours (:confused:) pass the --no-colour flag

๐Ÿ“ Future features

  • If the grid is still incomplete after passing the three tests, randomly guess cells until correct
  • Make it so the code can't physically solve the puzzle incorrectly
    • This scenario might occur if the user screws up the puzzle and then clicks Solve fully
  • Save and load sessions from cookie savedata includes:
    • version (of the program to run the save on)
    • date - when the save was created
    • cell data - current state of the cells
    • cell template - use to grey out template cells
  • Add functionality for the code to generate puzzles for the user to complete
  • Update readme descriptions with commit links
  • Cells that are updated by code temporarily flash green to draw attention before fading to blurple
  • Allow for variable puzzle size
    • Added in version v1.09
    • Create table from js
  • Functions isGridFull and attachCellScript
    • Added in version v1.10
    • If the grid is full, run some js to display a correct/incorrect message
    • Move cell script attachment to different function to allow for variable grid size
  • Function that checks if the puzzle is correct when all cells are filled in
  • Add opengraph tags for discord embeds
  • Add a licence
  • Reset grid to template button
  • Display error message if user violates rule while still solving
  • Turn application into a PWA
    • Added after version v1.13
  • Automate latest.html redirect link
  • Add logo to python executable

binary-puzzle's People

Contributors

aiden2480 avatar

Watchers

 avatar

binary-puzzle's Issues

Collaboration testing

This is a comment to check how to collaborate for Yr12 Assessment 1. Hope you don't mind? Feel free to wipe the comment.

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.