Code Monkey home page Code Monkey logo

the-lost-pirates-game's Introduction

The-Lost-Pirates-game

This is a two-player river crossing game made with Python-Pygame.

Playing arena consists of a river with some partitions in it.

There are 2 pirates (i.e players) in the game, one at top and another at bottom (2 sides of the bank). The aim is to make players reach the other end of the river.

A player is safe when it is standing on a partition/slab. There are two kinds of obstacles, moving and fixed.

The player starts from the ‘START’ partition and must reach the ‘END’ position for player 1 and the ‘END’ becomes ‘START’, ‘START’ becomes ‘END’ for Player 2. The moving obstacles move from left to right.

The player can move up, down, left and right. Use arrow keys to move Player1. Use keypad keys for Player2: KP_8: UP, KP_2: DOWN, KP_4: LEFT, KP_6: RIGHT

The score decreases as time passes and score updates on crossing obstacles. As player crosses moving obstacle successfully, he/she gets 10 points and for crossing fixed obstacles 5 points. The player dies for that round if he/she touches an obstacle and loses 50 points.

Only one player plays at a given point of time. The speed of moving objects increases in the next round for that player who wins the round.

After 3 rounds the player who has higher score is declared the winner.

the-lost-pirates-game's People

Contributors

megha-bose avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

playerxyz40

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.