Suoritettu

Small simple Java program needed

I need a small Java project to be completed. The project consists of creating a small game with basic controls and requirements. Here is the description of the project:

There is an artificial environment that a robot can freely walk on that. The user controls the robot's movement. The environment automatically will be loaded from the given file. The environment is a 2D character set. The program should read a 2D array of characters. The program should store the entire map inside an array. To move the robot, you give the commands like u for up and d for down and... If the location is blocked you can produce a new command. After each move, the energy of the robot reduces by one. If you receive to the goal point within the number of allowed steps (i.e. The total energy) then you are a winner. If you run out of steps, you are a loser. If you enter a blank line the program exits.

The program should store the states of the robot on private static member variables.

The program should only have one class "GoalSeekingRobotGame". The others must be static methods.

There are different types of characters:

Goal: '*'

Robot: 'o'

Empty space: ' '

Obstacle: '#'

Battery: '+'

Trap: '-'

Boundary: %

Direction: A character number: 'u', 'l', 'd', 'r'

The user can move to any direction by inserting any of the following characters: u, l, d, r

The robot has a certain initial energy. After each move, its energy reduces by one.

The robot's energy increases by 10 when moving over a battery and the battery disappears.

The robot's energy decreases by 10 when moving over a trap and the trap disappears.

The direction will never disappear and they show the goal is located in which direction.

The robot can only see a square space around itself with a radius of two blocks. It saves its memory and it marks its path with '.' characters.

The user is the winner if it reaches the goal point without running out of energy.

No Methods body (i.e. between { and }) is allowed to be larger than 12 lines.

The attached files are for the game and a test drive to read the game configurations.

I need this completed as soon as possible (under a day). Thanks

Taidot: Java

Näytä lisää: different parts simple java program, parts simple java program, java program needed, simple java programs examples pdf, list of java programs, java programs with source code, java hello world program, java programs examples with output, simple java programs for beginners, java coding program, java sample programs for practice, simple java program exam, simple java program getting data user, simple java program access email pop3 server, forex simple java program obtain rate, need simple java program gui, simple java program inventory check, small simple vbnet program, simple java program code, simple java program using gui

Tietoa työnantajasta:
( 13 arvostelua ) New York, United States

Projektin tunnus: #17964912

Myönnetty käyttäjälle:

computerneek

Perhaps the biggest question I have is to the UI. From your description, it sounds like this will be a console game- and the method size limit should be easy with my normal top-down design methodology. I expect this Lisää

$15 USD 1 päivässä
(8 Arvostelua)
2.6

12 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

asadrana91

Hello this is asad, i have a vast experience in java programming , if you need an A grade , contact me.

$50 USD 1 päivässä
(81 arvostelua)
6.5
polarjin2017

Hello? How are you? I have good skills in So I can complete your job in time. Hope to work with you. Thank you.

$55 USD 3 päivässä
(14 arvostelua)
4.6
MaryumAkhter1

I am Network Security certified and always on the lookout for training and new trends in the technology. I take direction well and can complete a heavy workload and complete projects under minimal supervision. As a d Lisää

$45 USD 1 päivässä
(3 arvostelua)
3.2
mukesh30march

hello i read instruction that is given in this project please provide more detail for the project i have done number of project in OS simulation i will provide 5 star rating work thanks

$88 USD 1 päivässä
(7 arvostelua)
2.7
salexfarm

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. java/javafx is my top skill and passision. i can provide most quality and high speed. if you want to succe Lisää

$25 USD 1 päivässä
(1 arvostelu)
1.2
tylerkitchens23

I have watched java grow up and mature into the language that it has become today. Though I am young, I have 6 years of java programming under my belt and this project seems very manageable I am a third-year Compute Lisää

$35 USD 1 päivässä
(2 arvostelua)
1.1
corke123

This should not be a very complex task but it could be hard to finish it in a short time so the price is this. You don't specify does the application must be a console one or a gui. If you want the console app I will d Lisää

$30 USD 1 päivässä
(1 arvostelu)
1.1
$30 USD 1 päivässä
(1 arvostelu)
0.0
dev7fares

Hello my name is Fares, I can get it done perfectly as you want let's chat when you are online, Thanks

$45 USD 3 päivässä
(0 arvostelua)
0.0
bidroid

How are you? I am very interested in your project. I have developed apps with java in 5 years and have many experiences. Please feel free to contact me. Thank you.

$25 USD 1 päivässä
(0 arvostelua)
0.0
Devesh23

Hello, I have read the program description mentioned by you and I am pretty sure this matches to my skill set. I love programming with Java and other C like languages. The application you mentioned actually is going to Lisää

$77 USD 1 päivässä
(1 arvostelu)
0.0