Coder Social home page Coder Social logo

freemastermind's Introduction

Free Master Mind  By Bob Jensen

This was an off hours learning project, part HTML 5 investigation, Javascript refresh project,
and a intro into html across laptops, phones and tablets.

I wanted to keep it as simple as possible so no libraries, just the basics.

HTML 5 features
1. Save files for off line use, this allows one to play when one is disconnected from the internet.
    + Great for my IPad.
    - Annoying dialog about saving local data on some browsers
    - Getting rid of the app requires clearing private data from browser

2. Drag and drop
    + Easy and it works on the laptop.
    - Does not work on mobile

3. SVG Scalable Vector Graphics.
    + Worked great. The old school way would have required 34 images just for the code, hole,  and balls.
    e.g. red ball in  green hole...  Instead I used SVG instead.  No images required for that.
    + Page loads faster
    + Resize SVG items stay crystal clear
    - Unfortunately some browsers do not support HTML5 SVG yet.

Master Mind is a classic game, one improvement I made was to eliminate the extra pegs to
show the clues.  I use the guess hole background color instead.
This reduces the form factor and added more color to the app.
It also made it easier to see match the clues to the ball, well in easy mode any way.


To use:
Build and deploy the war file to your app server
or
open mastermind.html with a Browser

freemastermind's People

Contributors

bob-jensen avatar

Watchers

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