Java Client Server basic game architecture

  • Status Closed
  • Budget $250 - $750 USD
  • Total Bids 11

Project Description

Based on attached project this task is about designing the basic architecture of a slot machine.

The project will be divided into 2 parts.

Server side:

use tomcat

Make a server sided program that generates the 15 random numbers for the slot machine.

use standard random number generator.

Every client starts a new session the credit will be stored only on server side.

Initialize credit with value 1000.

The state of the variable credit must be stored and should not get forgotten during the active session.

The credit will only be sent down to the client. The client should not store the credit (future security issue)

Every spin request from client side results in:


generate any 15 random numbers.

send random numbers and current credit to client.

The server side program should be callable from any client, which means (JAva client, C# client or HTML5 client)

Client side:

i have html5 demo of the slot game and full java game, pls write pm for the demos.

(current java game has no client server communication, which is required as an security issue, it also does not have the spin-more function).

Attached java program is doing all the Fullscreen and drawing of the slot machine stage and menu buttons.

Press start in client side:

1. spin

when the slot wheels are spinning exchange the images of the fruits with the blurred images of the same fruits.

this makes the spin look better and smoother.

2. get server side result of 15 random numbers and credit.

3. display result (no animation neccesary like in html5 demo)

4. after spin is finished unblur images.

variable definition:

see attached matrix;

int random_game1_1 to random_game3_5 for 15 random numbers.

result of the numbers will be









necessary images are in


Tricky and important part for this project:

When server does not respond quickly enough (spin is already finished but there is still no result from server)

spin more. which means the wheels should turn until the result from server is there.

this spin more function will be tested with for example a do while counting loop on server side that holds back the result.

this is very important for this project.

also wheel lock in function in required:

the wheels turn 50% of one image further down. that means that 50% of the upper image will be visible.

then spin back until stop position.

on next spin the correct image on upper side should move trough the wheel.

Get free quotes for a project like this
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online