Skip to content

Write Python script to simulate client interface #2

@Raghav-B

Description

@Raghav-B

Sub-task of #1 .

Use Python websockets module to simulate the following functionality from the client frontend

  • user-login: Available in frontend signallingServer.userLogin()
  • find-robot: Available in frontend signallingServer.findRobot()
  • offer: Available in frontend signallingServer.sendOffer()
  • user-start-game: Available in frontend signallingServer.startGame()

The login for what the client does in each functionality is provided in the frontend GameSelect.js in goToBattle() and Home.js when the start button is pressed.

Spawn multiple threads that perform the above functionality so we can stress-test the queuing system.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions