From 92932a1440f1ed1207b231993eba8a15761ed758 Mon Sep 17 00:00:00 2001 From: Brandon Woo Date: Mon, 9 Nov 2015 19:11:34 -0800 Subject: [PATCH] Change name to Math Swipe --- README.md | 6 +++--- app/services/TwitterGameService.coffee | 6 +++--- index.html | 4 ++-- package.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d6c9726..b7ebb9c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# MathSwipe +# Math Swipe -[MathSwipe](http://sf-interns.github.io/mathswipe/) is a `CoffeeScript` game developed in the context of the [Originate](http://www.originate.com/) 'Intern Hack 2015' Event, presented August 2015. It is a web-game in which the user is given a grid of numbers (0-9) and operators (+, -, ×). The user's goal is to swipe a path through the cells to create an expression that evaluates to one of the goal-values listed below the board. A level is completed when the user finds expressions evaluating to each goal-value and has cleared the board of all cells. +[Math Swipe](http://sf-interns.github.io/mathswipe/) is a `CoffeeScript` game developed in the context of the [Originate](http://www.originate.com/) 'Intern Hack 2015' Event, presented August 2015. It is a web-game in which the user is given a grid of numbers (0-9) and operators (+, -, ×). The user's goal is to swipe a path through the cells to create an expression that evaluates to one of the goal-values listed below the board. A level is completed when the user finds expressions evaluating to each goal-value and has cleared the board of all cells. ## Development Information @@ -8,7 +8,7 @@ Note that the other services, when run locally, expect the frontend to be served The codebase is primarily written in CoffeeScript using the Node package manager to install most of the dependencies. The entire project (including its dependencies) is bundled by `Webpack` into a single bundle.js file which can be served locally or staticlly with GitHub pages. -Animation and functionality of the game is implemented using `jQuery`, `Two.js` and Scalable Vector Graphics (SVGs). +Animation and functionality of the game is implemented using `jQuery`, `Two.js` and Scalable Vector Graphics (SVGs). The styling is written in `SASS` and compiled down to CSS before use. If you plan to clone this repository and try building the game locally, we recommend using the Sublime plugin `SASS Build` to compile down to CSS. diff --git a/app/services/TwitterGameService.coffee b/app/services/TwitterGameService.coffee index aeb8702..455563e 100644 --- a/app/services/TwitterGameService.coffee +++ b/app/services/TwitterGameService.coffee @@ -3,9 +3,9 @@ $ = require 'jquery' class TwitterGameService @setTweet: -> - possible = ['Play MathSwipe with me! Try to beat my score at', - 'Play MathSwipe with me! Try to solve my board at', - 'Play MathSwipe with me! Solve my puzzle at'] + possible = ['Play Math Swipe with me! Try to beat my score at', + 'Play Math Swipe with me! Try to solve my board at', + 'Play Math Swipe with me! Solve my puzzle at'] text = possible[Math.floor(Math.random() * 3)] $( '#tweet' ).attr( 'data-text' , text ) diff --git a/index.html b/index.html index b7c1082..b2e3b80 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@
-

MathSwipe

+

Math Swipe

@@ -30,7 +30,7 @@

Reset

New Game

- +
diff --git a/package.json b/package.json index 87cc227..135d6d2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mathswipe", "version": "0.0.0", - "description": "MathSwipe is a CoffeeScript game developed in the context of the Originate 'Intern Hack 2015' Event, presented August 2015. It is a web-game in which the user is given a grid of numbers (0-9) and operators (×, +, -), as well as a set of goal-values. The user's goal is to swipe a path through the cells to create an expression that evaluates to one of the goal-values. A level is completed when the user finds expressions evaluating to each goal-value.", + "description": "Math Swipe is a CoffeeScript game developed in the context of the Originate 'Intern Hack 2015' Event, presented August 2015. It is a web-game in which the user is given a grid of numbers (0-9) and operators (×, +, -), as well as a set of goal-values. The user's goal is to swipe a path through the cells to create an expression that evaluates to one of the goal-values. A level is completed when the user finds expressions evaluating to each goal-value.", "main": "index.js", "scripts": { "devserve": "webpack-dev-server -d --config webpack.config.js --content-base ./ --progress --colors",