GithubHelp home page GithubHelp logo

shaqb4 / opset-game Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 730 KB

A digits clone with enhancements

License: Apache License 2.0

Vue 48.02% HTML 0.43% Shell 0.16% JavaScript 50.59% TypeScript 0.80%

opset-game's Introduction

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

Check out the deployment documentation for more information.

opset-game's People

Contributors

shaqb4 avatar

Watchers

 avatar

opset-game's Issues

Add keyboard shortcuts

New game - ?
Open settings - ?
Submit game - ?
Open info - ?
Open solution - ?
Cycle tabs on page (game, solution generator) - ?
...

Maintain same number of number slots on the board instead of shifting

When an operation is done, it currently removes a number from the board and the whole board shifts as a result. It would be better to maintain the board size.

Can simply not display numbers that have benn used/replaced, but keep their spot taken. This could probably make transition animations easier also

Add the solution generator

Allow users to generate all possible unique solutions for any given set of numbers and target. Possibly allow them to select a certain number of solutions to limit computation and time.

Add settings for game generation

  1. Chainmode
  2. Number of starting digits/numbers
  3. Max number to be used on board
  4. Would be nice to be able to limit the target number as well, though would probably have to change the current method of generating game boards

Filter generated solutions based on current game

          Add way to auto-set current board game into the solution generator settings. Would be even better if it could filter the resulting solutions by the actions the user has already taken on the board. Would probably need to normalize the user actions so that smaller number is on the left. i.e. '8 * 7 = 56' becomes '7 * 8 = 56'. This is how the solver does it, so could then simply compare user actions to solution actions (in theory at least)

Originally posted by @shaqb4 in #2 (comment)

Add PWA functionality

Turn this into a PWA so that it can be used offline and installed to home screen. Need to look into Service Worker and what else is needed.

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.