right now, they are in a forloop
Type: Posts; User: zerocos
right now, they are in a forloop
I have a problem
I made a grid of buttons (6,6)
but now i want to give some of the buttons a different color.
i dont know how because i made the buttons with a for loop ofcourse
the problem is that i don't know how to move the number in the array when the player calls it.
the program asks the number and the direction but then it doesnt do anything else
-ask the player which car he wants to move
-ask the player in which direction
-show the gameboard where the car is moved --> so let the number move and fill the open space with 10
i know but as i said, i have no idea how to write this. i started lessons only 1 month ago
i mean the space that becomes empty if a car is moved
if this is my game board
and each number represents a car
88= the border of the board
10= an open space
What should i write to make the numbers(cars) move and fill the other space with '10'??
...
i'm almost finished now, but when i try to get an extern file (the level) i get this error:
--Error: File Not Found--
The data file could not be found. Check thefile name and try again.
where...
i mean that after you change the values, the program should print the new array and you should be able to keep doing this. like you are moving the cars 1 block at a time and take a picture after...
i mean i dont know how to take out the GUI and i also don't know how i should start all over
--- Update ---
How can i change the values of an array and stock it in another?
i dont know how to start working on both so idk :/
yes i think that is what i need.
you are probably right but i just don't have enough time to start from the begining again
ok so i got some help from someone.
i know have this question: can i get rid of the visual part? because i don't need that just now
i only need it in console atm
class Car
{
private...
hmm nee, ik zie geen manier
maar als je dat te riskant vind hoef je dit niet te doen hoor, ik zoek nog wel verder
neej sorry :s
strikte familie, geen chats.
ik heb wel mail maar dat is het dan ook..
holland, or how do you say that in english >.<
oh waw
yea my deadline isn't tonight but i have no more time to work on it except for today so..
No, i don't. Why?
sorry i only have the image as an example
yes thats it, that should be the output.
It's just the fact that im totally stuck and i don't even know what i should be asking for.
it should be looking like this, but of course it doesnt
1723
ok so i started with this
first class is the board, second the cars
as i said im very unskilled so i have no idea what to do now
public class Spelbord
{
public static void...
im new here, i don't even know how to post it :s
i do have the .rar file
i started a month ago but i trusted my partner to finish it, now it seems he hasnt been doing anything.
so i have some serious problems now
mostly im stuck with moving the cars
Hey,
I'm supposed to create the game rushhour with the program IntelliJ, but i'm totally stuck with it.
I need it tonight so some fast help would be much appreciated.
I'm very unskilled in...