Skip to content
项目

alexmngn/react-rock-paper-scissors

在 GitHub 查看

关于

Rock Paper Scissors game built with ReactJS

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-rock-paper-scissors

This is a project example of the game "Rock Paper Scissors" built with React.js.

The architecture is feature-based and follows the recommendation from the article I wrote on Medium: How to better organize your React applications?

It can easily be extended to different versions of the game, such as "Rock Paper Scissors Lizard Spock"

The project has unit tests which only covers the main game features.

You can fork and clone the project and run npm install to install the external dependencies. This project has been tested with node v7.7.1 and npm 4.1.2.

Helpful commands

You have the following CLI commands available:

  • npm run start Runs the project with webpack-dev-server and serves it on http://localhost:3333

  • npm run test: Runs unit tests via Karma, in Chrome by default

  • npm run lint: Runs ESLint against your source and config files

  • npm run build Runs Webpack build

  • npm run serve Serves the build/ folder contents

探索相关项目

加载中…