Skip to content
项目

关于

:video_game: 一款精致的 2048 游戏,使用 React 构建并遵循 Redux 最佳实践。

游戏与模拟器

这些数字如何统计

实测星标增长

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

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

README.md

原文

React-2048-game | 中文

travis-ci codecov node tested with jest styled with prettier

 

React Webpack Redux React Router Redux saga ESLint Jest Yarn

 

A fancy 2048 game build with react, redux best practices. Uses many awesome open source tools to improve code styles, includes eslint, stylelint, prettier, and Travis, codecov continuous integration services to be guaranteed for code quality and deploy application automatically. Show ❤️ by 🌟.

👉 Start the game

Quick start

Require nodejs version > 6.10 as config scripts were wrote in es6+, also recommend to use yarn to manage project dependencies instead of npm. After fork the project following below commands to get started.

  npm i -g yarn # Install yarn
  git clone [email protected]:<your name>/React-2048-game.git
  cd React-2048-game
  yarn # Install dependencies
  yarn start # Start local developing mode
  yarn test # Run test code
  yarn build # Build the project from source

Technologies

This app has a rich development experience using the following technologies:

Tech Description Learn More
React Declarative, component based view library. Codecademy Course
Redux A predictable state container. Supports time-travel debugging. Learn Redux
Redux saga Handles side effect model for Redux apps. Async operations using redux-saga
React Router Declarative, multi-platform routing library for React Official guide
Babel Compiles ES6 to ES5. Uses the latest features of JavaScript today. Learn ES2015
Webpack Bundles npm packages and all kinds of assets, scripts into a single app. Supports hot reloading via webpack-dev-server. Learn Webpack in 15 Minutes
Jest Tests JavaScript with built-in assertions automatically, integrates with Enzyme for DOM testing in node environment. Official guide
ESLint Analyze and lint JavaScripts. Reports syntax and style issues. ESLint rules
SCSS Powerful professional grade CSS extension language with variables, mixin, functions, and more. Getting Sassy with CSS

License

MIT

More products from author

Quotion - Apple Notes to blogs in minutes

Chirpy - Open source & privacy-friendly Disqus alternate for your community

探索相关项目

加载中…