Giter Site home page Giter Site logo

scrabble-py's Introduction

Scrabble!

A Scrabble game developed using Python and JQuery UI. The game is designed to be played by one player, who take turns with a CPU to place letter tiles on a game board in order to form words. Each letter tile has a certain point value, and the aim of the game is to score as many points as possible.

The game board is an 11 x 11 grid, with each square on the board representing a letter tile. At the beginning of the game, the player is given a set of seven letter tiles, which they can use to form words on the board. The game also includes a dictionary, which is used to check whether the words formed by the players are valid.

The game is played using a web-based interface, which has been developed using JQuery UI. The interface allows players to drag and drop letter tiles onto the game board, and also features a score board.

Features

  • Interactive wood tiles and an 11x11 grid with plenty of room to maneuever
  • Fast-and-fair word validation so you can only play words in the game dictionary
  • Sleek minimalist scoreboard to keep track of how you're doing
  • CPU set to expert difficulty, because its way more fun that way

Tech-Stack

  • Realm Mobile Database and Swift NSUserDefaults for post archiving
  • Facebook SDK, Twitter Kit, and Instagram API to fetch user information
  • Swift/Objective-C front-end with CocoaPods Dependency Manager
  • AlamoFire, SwiftyJSON, and Facebook Graph API to fetch profile content

Task List

  • Fully Interactive letter tiles with drag-and-drop functionality, with one letter for each board slot
  • Word Validation checks, every word gets ran against a dictionary to make sure its legit
  • Python Endpoints to generate new game elements on demand and execute game actions
  • Animations on every action (drag, drop, submit, reset, score change, cpu turn)
  • CPU Turn, always give the CPU the best possible hand, based on the current pool of active letters
  • Super Accurate Letter Generation, so you always have a decent chance of putting out at least one word
  • Session Variables to store active words, active hand, and active score

Next Version

  • Main Menu screen and option to pull it up
  • Login/Logout, Score History, and Board Customization options (color schemes)
  • "Online" Two Player Mode
  • World Leaderboard for all players
  • Make the whole board responsive so it can be embedded into a bigger website

Acknowledgements

scrabble-py's People

Contributors

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