DragonEngineer
Forum Replies Created
-
AuthorPosts
-
I am helping TrevishX report this also
Again, red means what he did not enter. Green is his comments after that (What he wrote)
Apparently that admin who abused the command did not learn their lessons
Taken at 1:18pm at GMT +0
No trains please, I beg you. It really made TreeTopia messy and unsightful
- This reply was modified 9 years, 2 months ago by DragonEngineer.
One of my townmate was also telling me there was this mod (or hacked client) broadcasting melee49’s personal information such as names, etc
Sorry for bringing up too late, but throughout the last few days I am thinking about it, plus Ender243’s report make me think this is one possible suspect.
Not sure if this helps, but on the day of that incident, just before I disconnected, there is this guy called “Calebc02” asking where melee49 lives, not sure if he is a hacked client.
August 17, 2015 at 2:37 pm in reply to: Ore Party Timing Reference – Listed by country #118687 Score: 0I dream of becoming a game designer since young. And idk how is networking useful in games. Other than multiplayer games. My friend said networking is the most useless module in my course…
At least I don’t have to learn in detail about cyber security etc.
- This reply was modified 9 years, 2 months ago by DragonEngineer.
August 17, 2015 at 2:34 pm in reply to: Ore Party Timing Reference – Listed by country #118684 Score: 0August 17, 2015 at 2:31 pm in reply to: Ore Party Timing Reference – Listed by country #118682 Score: 0This coming holiday I won’t be free. I had chosen to take a vacation term module plus an oversea community project in Cambodia (Samroung High School, Siem Reap)
August 17, 2015 at 2:28 pm in reply to: Eradicate line-huggers, 2nd pluggin suggestion #118679 Score: 0melee49, I only have 1 topic to close. So let the mods close this before closing yours, thanks
August 17, 2015 at 2:05 pm in reply to: Eradicate line-huggers, 2nd pluggin suggestion #118668 Score: 0Close the topic :/
I hope this is implemented across servers. And I hope this kind of things will never happen again.
I will be changing all my accounts to DragonKnightz34 from now. So I will need to transfer my account from JiaZheng2707 to DragonKnightz34 in prison server. Also if possible change the forum account name to DragonKnightz34. Thanks.
- This reply was modified 9 years, 2 months ago by DragonEngineer.
The 2nd one sometimes is buggy
Good luck in becoming better in Java.
Once you are better at it, you can try…
– Solve quadratic equation with gradient at a certain pointand…
– A game
(In this example it is a game of survival using basic concepts like repetitions, selections, arrays and methods and parameters)Rules for the game of Survival
Two clans are stranded on opposite ends of an island in the Pacific Ocean. It has been about one week since they both arrived at the island mysteriously. Through some fortune both clans have discovered a plot of land in the middle of the island overflowing with resources. The land is a 10 x 10 region, where each element has one type of hidden resource.
The hidden resources are (1) food, (2) weapons, (3) medical supplies and (4) clean water. Each clan will send one representative to play this game.
The simplified game of Survival is a two-player game played on a 10 x 10 game board. The objective of the game is for each clan to gather as many resources to determine who will survive the longest on the island. The winner is the player who has the most number of resources, in terms of points. This modified version of Survival will be simulated using two computer players.No user input is required for this game. The 10×10 board will be simulated using a 10 x 10 2D array. At the start, the game must randomly decide which computer player (1 or 2) will go first.
This game will include the following pieces:
“food” piece – represents one food resource
“weapons” piece – represents one weapons resource
“medical supplies” piece – represents one medical supplies resource
“clean water” piece – represents one clean water resourceFor this game the program should randomly hide 15 pieces of each resource across the 10 x 10 grid. Assume only one resource can be placed inside each box of the grid. The game begins by generating a random number between 25 and 100, inclusive which indicates the total number of turns (i.e. player 1 and player 2 combined) to take.
Then, the program should simulate the game play as follows:
At each turn, the current state of the game board should be displayed and which resources have been taken by a computer player (player 1 or 2);
At each turn the program must also generate two random numbers, each between 1 and 10, inclusive that represent the x and y position in the 2D array.
The rules for placing an item on the game board are as follows:
If the two random numbers total up to 0, 10 or 18, then the player has the choice to denote the area around that [x][y]. The choice depends on another random number between 1 and 2, inclusive. If the random number is 1, then the detonation will happen. Otherwise, no detonation occurs, the resource can be assigned to the player’s inventory and the game board is updated.The area around the [x][y] for detonation is the immediate 8 neighbours of the [x][y] position. Denotation means that all resources in those 8 immediate neighbours will be destroyed such that no computer player can acquire them now or in the future.
For any other dice value, the program should check the [x][y] position. If there is a resource available there it should be assigned to the computer player’s inventory and the game board is updated.
If the [x][y] position on the game board has no resource, the computer player skips its turn.
Overall, each position (or slot) in the displayed 10×10 2D game board can contain any of the following:
E empty space
F food resource
W weapons resource
M medical supplies resource
C clean water resourceEvery time a resource is assigned to the inventory of one of the computer player’s points are assigned as follows:
Food – 45 points
Weapons – 25 points
Medical supplies – 25 points
Clean Waters – 50 pointsThe game ends when the following condition is satisfied:
When there are no more remaining resources to find on the game board. At this point, your program should go through the game board identify the winner.How to win (In order of priority)
1: One player has 25% more clean water resources than the other player
2: One player has 35% more medical supplies resources than the other player
3: The player with the most pointsThe program should print a “Tie” if both computer players end up with the same number of points based on their inventory.
Though those are in C++, it is possible with Java. In fact, for the Survival game, it was one of my programming assignment, for both C++ and Java users
- This reply was modified 9 years, 2 months ago by DragonEngineer.
- This reply was modified 9 years, 2 months ago by DragonEngineer.
August 17, 2015 at 5:20 am in reply to: So, I started java coding today. Guess what I coded. #118622 Score: 0I learnt basic C++ like input output, array, methods, selections and repetition.
I had created a game using those above stuff plus randomising mechanics. But buga a bit
Still haven’t gone into what clockspeed is doing. But it looks cool how the GUI look like.
-
AuthorPosts