Giter Site home page Giter Site logo

devxdebanjan / rospygame Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.97 MB

This a multiplayer game designed by Finite State Machine architecture with the help of ROS NOETIC package. however this game is flawed in the sense that Player A always wins. This was originally a KRSSG task and problem statement has been provided in the repo.

Python 100.00%
client-server client-server-architecture finite-state-machine ros ros-noetic rospy-game

rospygame's Introduction

AIM

Design multiplayer game architecture using ROS communication where each player has three components (monsters) and attacks each other through two modes 1 and 2. Here you will find three files one for the server, and two for clients A and B respectively.

OS

Linux (Distro: Ubuntu)

LIBRARIES USED

  • rospy from ROS Noetic

INSTRUCTIONS

  • Run the roscore
  • First run the server node.
  • Next open clients A and B in any order you would like. Player A will get chance to input their moves first and then Player B.
  • This way the game will go on alternatively until winner is found. Most important precaution while running the game is that when using move 2 you should follow the exact format "2 opponent_monster_name". Here the opponent’s name is case sensitive and the program will malfunction if you give any wrong inputs as error handling is yet to be done.

For any other discrepancies, please hit me up on my email

rospygame's People

Contributors

devxdebanjan avatar

Watchers

 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.