All Projects → caohuilin → Snake_React_v2

caohuilin / Snake_React_v2

Licence: other
React-Redux-Typescript-Immutable实现贪吃蛇小游戏

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to Snake React v2

Chai Immutable
Chai assertions for Facebook's Immutable library for JavaScript collections
Stars: ✭ 161 (+455.17%)
Mutual labels:  immutablejs
extendable-immutable
Wrapper classes around Immutable.js that turn it inheritable
Stars: ✭ 58 (+100%)
Mutual labels:  immutablejs
snake-neural-network
An experiment with neural network and genetic algorithms
Stars: ✭ 68 (+134.48%)
Mutual labels:  snake-game
Blink Mind
Fully customizable mindmap framework for react.js. 支持插件的,可被完全定制的思维导图库,基于react.js和immutable.js。
Stars: ✭ 169 (+482.76%)
Mutual labels:  immutablejs
Cpp-Snake
A simple snake game written in c++
Stars: ✭ 35 (+20.69%)
Mutual labels:  snake-game
Python.io
Snake game inspired from Slither.io but features a python instead of a snake. Made in Python 3
Stars: ✭ 15 (-48.28%)
Mutual labels:  snake-game
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (+406.9%)
Mutual labels:  immutablejs
snake game
This is a simple implementation of the classic snake game in rust
Stars: ✭ 16 (-44.83%)
Mutual labels:  snake-game
Console-Snake
Snake Game in Console Implemented Using C++
Stars: ✭ 99 (+241.38%)
Mutual labels:  snake-game
snake-game-2D
The famous 2D snake game in which your goal is to eat until you get huge and accumulate many points.
Stars: ✭ 18 (-37.93%)
Mutual labels:  snake-game
React Native Immutable List View
📜 Drop-in replacement for ListView, FlatList, and VirtualizedList.
Stars: ✭ 206 (+610.34%)
Mutual labels:  immutablejs
Neos Ui
Neos CMS UI written in ReactJS with Immutable data structures.
Stars: ✭ 238 (+720.69%)
Mutual labels:  immutablejs
LearnSnake
🐍 AI that learns to play Snake using Q-Learning (Reinforcement Learning)
Stars: ✭ 69 (+137.93%)
Mutual labels:  snake-game
React Solitaire
React implementation of the famous solitaire card game
Stars: ✭ 163 (+462.07%)
Mutual labels:  immutablejs
Snakes
A simple game of snakes implemented in C++ and OpenCV
Stars: ✭ 24 (-17.24%)
Mutual labels:  snake-game
Unsplash Wallpapers
🖼️ Unsplash cross-platform desktop application built with Electron, React and Redux
Stars: ✭ 159 (+448.28%)
Mutual labels:  immutablejs
GBsnake
Snake game for Nintendo Gameboy written in C
Stars: ✭ 26 (-10.34%)
Mutual labels:  snake-game
openNES-Snake
Simple rebuilt of the classic Snake game for the NES in C using the cc65 cross compiler.
Stars: ✭ 18 (-37.93%)
Mutual labels:  snake-game
rx react native starter kit
React Native/redux/observable/auth starter kit which include immutable, rxjs, auth0 integration
Stars: ✭ 20 (-31.03%)
Mutual labels:  immutablejs
Snake-Game-with-Deep-learning
Developing a neural network to play a snake game
Stars: ✭ 43 (+48.28%)
Mutual labels:  snake-game

贪吃蛇小游戏(第二版)

home

2015年,React诞生不久,想着它组件的生命周期管理可以用来写小游戏,于是贪吃蛇小游戏V1版本诞生了 https://github.com/caohuilin/Snake_React ,现在还记得当时完成的兴奋和喜悦。

后来,学习了Redux, Immutable,一直想重新写一下这个项目。 苦于一直忙于工作,没有空。 近期终于有空更新项目,于是V2就来了 https://caohuilin.github.io/Snake_React_v2

概述

React生态圈技术实现网页版贪吃蛇小游戏。模拟游戏机界面,传统的游戏模式,找回小时候的回忆!

游戏规则

贪吃蛇大家都不陌生了,吃掉一个食物,蛇的身体会变长,食物随机出现在屏幕的另一个位置。碰到自己或者碰到墙壁游戏结束。 注意一点就是设置目前只支持游戏模式的设置。 点击设置按钮后,点击左键或者右键进行模式切换。

项目安装部署

Install

yarn install

Start Serve

It's served in http://localhost:3000 .

yarn run serve

Build

yarn run build

试玩

https://caohuilin.github.io/Snake_React_v2

game

补充

基本功能已经实现,难免有处理不当或者没有考虑到的界限问题,欢迎提Issue,https://github.com/caohuilin/Snake_React_v2 祝大家玩的愉快!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].