All Projects → ohall → React Pong

ohall / React Pong

Licence: mit
✅ A pong game React component

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Pong

Endless Runner Entitas Ecs
Runner template for Unity
Stars: ✭ 41 (-37.88%)
Mutual labels:  game, game-development
Currymud
A Multi-User Dungeon server in Haskell.
Stars: ✭ 54 (-18.18%)
Mutual labels:  game, game-development
Game Dogfight
Air to air combat game, created in Python 3 using HARFANG 3D.
Stars: ✭ 41 (-37.88%)
Mutual labels:  game, game-development
Factory Rise
Factory Rise is a 2D sandbox game, focused on building, developing industries and handling resources. The game is based on Oxygen Not Included, Terraria, Factorio and some Minecraft mods (EnderIO, Industrial Craft, BuildCraft, GregTech and Thermal Expansion), it also have a game progress similar to StarBound.
Stars: ✭ 21 (-68.18%)
Mutual labels:  game, game-development
3 Modifiers And Abilities
Customise character abilities, weapons, characters and enemies. This includes multiple damage types, modifiers, sounds, animations. By the end you can create your core combat experience. (REF MA_RPG) http://gdev.tv/rpggithub
Stars: ✭ 64 (-3.03%)
Mutual labels:  game, game-development
Nativescript Flappy Bird
NativeScript implementation of Flappy Bird (basic). Demonstrates how to build games in NativeScript.
Stars: ✭ 31 (-53.03%)
Mutual labels:  game, game-development
Soloud
Free, easy, portable audio engine for games
Stars: ✭ 1,048 (+1487.88%)
Mutual labels:  game, game-development
Dodgem
A Simple Multiplayer Game, built with Mage Game Engine.
Stars: ✭ 12 (-81.82%)
Mutual labels:  game, game-development
Ksframework
QQ Group:538722494,KSFramework = KEngine + SLua(or xLua) , Unity3D Framework/Toolsets focus on hot reload
Stars: ✭ 1,119 (+1595.45%)
Mutual labels:  game, game-development
Bytepath
A replayable arcade shooter with a focus on build theorycrafting made using Lua and LÖVE.
Stars: ✭ 1,119 (+1595.45%)
Mutual labels:  game, game-development
Session Seven
Free oldschool point & click graphic adventure game
Stars: ✭ 20 (-69.7%)
Mutual labels:  game, game-development
Sycophant
Numerous Ninjas: Beta stage mobile game written in Unity
Stars: ✭ 64 (-3.03%)
Mutual labels:  game, game-development
Beaverandfairies
Stars: ✭ 14 (-78.79%)
Mutual labels:  game, game-development
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-42.42%)
Mutual labels:  game, game-development
Java Game And Application
Java Games and Application with awesome source code and better algorithm
Stars: ✭ 14 (-78.79%)
Mutual labels:  game, game-development
Tank island
Top down 2D shooter game that involves blowing up tanks
Stars: ✭ 42 (-36.36%)
Mutual labels:  game, game-development
Lantern
(DEPRECATED, SEE README)
Stars: ✭ 12 (-81.82%)
Mutual labels:  game, game-development
Quavo
An open source OSRS emulation server aimed to be fast and informative.
Stars: ✭ 12 (-81.82%)
Mutual labels:  game, game-development
Polyworld
A world generator that is based on Voronoi diagrams
Stars: ✭ 59 (-10.61%)
Mutual labels:  game, game-development
09 Zombierunner Original
First person shooter with Unity terrain and AI pathfinding (http://gdev.tv/cudgithub)
Stars: ✭ 64 (-3.03%)
Mutual labels:  game, game-development

react-pong

A simple ping-pong game as a React component composed in ES6.

Inspired by Max Wihlborg

See demo here

Add to your project:

npm install --save react-pong

Usage:

import Pong from 'react-pong';

React.render(
  <Pong/>,
  document.getElementById('container')
);

Properties/API:

  • height - Number - Height of canvas element in px - default: 600
  • width - Number - Width of canvas element in px - default: 700,
  • upArrow - Number - Keyboard code for moving paddle in up direction - default: 38
  • downArrow - Number - Keyboard code for moving paddle in down direction - default: 40
  • ballSize - Number - Diameter of ball in pixels - default: 10
  • paddleHeight - Number - Height of both paddles in pixels - default: 100
  • paddleWidth - Number - Thickness of both paddles in pixels - default: 20
  • paddleSpeed - Number - Number of pixels moved by player paddle on key press - default: 5
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].