Giter Club home page Giter Club logo

cs50gamedev-pong's Introduction

CS50GameDev-Pong

This repository contains a version of the classic game Pong. This project was created based on CS50's Introduction to Game Development course.

screenshot

The game is written in Lua using the LÖVE 2D game engine.

Prerequisites

Before running the game, you need to install the LÖVE 2D game engine. Here are the installation guides based on your operating system:

  1. 'Windows': LÖVE for Windows
  2. 'MacOS': LÖVE for MacOS
  3. 'Ubuntu': Use the terminal command sudo apt-get install love

Getting Started

To play the game, you will first need to clone or download this repository to your local system.

git clone https://github.com/shanginn/CS50GameDev-pong.git

After downloading, navigate into the project directory.

cd CS50GameDev-pong

Running the Game

To start the game, you need to run LÖVE 2D in the project's directory.

If you're on Windows or MacOS, you can simply drag the whole project folder onto the LÖVE application icon.

If you're on Linux, use the terminal to navigate to the project directory, then run the following command:

love .

This will start the game.

Controls

Player 1:

  • W: Move paddle up
  • S: Move paddle down

Player 2:

  • Up Arrow: Move paddle up
  • Down Arrow: Move paddle down

To start the game, press Enter.

cs50gamedev-pong's People

Contributors

shanginn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.