• Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A pure javascript game written on react-native framework. Brings the childhood memories back!

react-native-tetris

A pure javascript tetris game for React Native framework.

Todo

  1. Fix the row clearing issue. [FIXED + Optimized row clearing]
  2. Handle null exceptions when rotating near the wall or blocks. [FIXED]
  3. Add a drop button. [FIXED]

#Demo

alt tag

Try it out

Try it with Exponent: https://getexponent.com/@sungwoopark95/react-native-tetris

Run it locally

To install, there are two steps:

  1. Install Exponent XDE following this guide. Also install the Exponent app on your phone if you want to test it on your device, otherwise you don't need to do anything for the simulator.
  2. Clone this repo and run npm install
git clone https://github.com/ggomaeng/react-native-tetris.git tetris

cd tetris
npm install
  1. Open the project with Exponent XDE and run it.

The MIT License (MIT)

Copyright © 2016 Sung Woo Park

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

react-native-card-modal

A pure javascript card modal for React Native framework.
JavaScript
1,040
star
2

react-native-facebook-ui

Pure javascript UI prototype of iOS Facebook for React Native framework.
JavaScript
608
star
3

better-developer-quotes

💡 A compilation of answers I received from other developers when I asked them--"How do I become a better developer?"
426
star
4

awesome-js

🦄 A curated list of javascript fundamentals and algorithms
394
star
5

react-native-spotify-ui

Pure javascript UI prototype of iOS Spotify for React Native framework.
JavaScript
324
star
6

react-native-magazine-listview

A pure javascript magazine listview for React Native framework.
JavaScript
198
star
7

react-native-gmail

Pure javascript UI prototype for React Native framework. Custom swipe to archive ListView.
JavaScript
132
star
8

react-native-lottie-minion

BANANA! Minion-themed Interactive Login
JavaScript
116
star
9

react-native-fan-button

Pure javascript fan button that expands with more options when clicked.
JavaScript
108
star
10

react-native-product-page

Pure javascript product page UI prototype for React Native framework.
JavaScript
68
star
11

hophacks2018

https://devpost.com/software/mediblock
JavaScript
64
star
12

react-native-svg-chicken

Animated chicken using Animated and react-native-svg Library, built for React Native framework.
JavaScript
56
star
13

react-native-solitaire

Pure javascript solitaire UI for React Native framework. Intended for practices with PanResponder
JavaScript
50
star
14

react-native-image-card

Simple image-card that shows description when the image is clicked. Pure javascript library for react-native framework.
JavaScript
38
star
15

hophacks2017

JavaScript
30
star
16

react-native-show-password

A creative way to hide/show hidden text value
JavaScript
30
star
17

be-the-rocket

An implementation of the classic Asteroids game using React and Canvas in es6
JavaScript
8
star
18

jhuBOT

chatbot dedicated to hopkins!
JavaScript
4
star
19

persecond

Seoul Aptos Hackathon 2023
JavaScript
4
star
20

ggomaeng

3
star
21

warpcast-chrome-extension

TypeScript
2
star
22

hamcaster

TypeScript
2
star
23

chatcasso

TypeScript
2
star
24

leetcode.com

Collection of leetcode.com solutions in different programming languages. Currently used for learning purposes.
2
star
25

react-native-fastscroll

work in progress
JavaScript
2
star
26

ethglobal-hackathon

TypeScript
2
star
27

hai-bot

testing facebook chat bot
JavaScript
1
star
28

medhacks2018

JavaScript
1
star
29

entity-web-scraper

quick entity scraper for yahcks2017
JavaScript
1
star
30

blm.web

JavaScript
1
star
31

public

1
star
32

isyousafe-next

JavaScript
1
star
33

test-mint.club-v2-sdk

TypeScript
1
star