DragonEngineer

 

Forum Replies Created

Viewing 15 posts - 346 through 360 (of 519 total)
  • Author
    Posts
  • in reply to: Admin misusing commands #118850 Score: 0

    DragonEngineer
    Participant

    I am helping TrevishX report this also

    View post on imgur.com

    Again, red means what he did not enter. Green is his comments after that (What he wrote)

    in reply to: Admin misusing commands #118845 Score: 0

    DragonEngineer
    Participant

    Apparently that admin who abused the command did not learn their lessons

    View post on imgur.com

    Taken at 1:18pm at GMT +0

    in reply to: Town Vote #118830 Score: 0

    DragonEngineer
    Participant

    No trains please, I beg you. It really made TreeTopia messy and unsightful

    in reply to: Admin misusing commands #118779 Score: 0

    DragonEngineer
    Participant

    One of my townmate was also telling me there was this mod (or hacked client) broadcasting melee49’s personal information such as names, etc

    View post on imgur.com

    in reply to: Admin misusing commands #118776 Score: 0

    DragonEngineer
    Participant

    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.

    in reply to: Admin misusing commands #118775 Score: 0

    DragonEngineer
    Participant

    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.

    View post on imgur.com

    in reply to: Ore Party Timing Reference – Listed by country #118687 Score: 0

    DragonEngineer
    Participant

    I 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.

    in reply to: Ore Party Timing Reference – Listed by country #118684 Score: 0

    DragonEngineer
    Participant

    At the moment I am stuck with this :/

    View post on imgur.com

    I really hate networking…

    in reply to: Ore Party Timing Reference – Listed by country #118682 Score: 0

    DragonEngineer
    Participant

    This 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)

    in reply to: Eradicate line-huggers, 2nd pluggin suggestion #118679 Score: 0

    DragonEngineer
    Participant

    melee49, I only have 1 topic to close. So let the mods close this before closing yours, thanks

    in reply to: Eradicate line-huggers, 2nd pluggin suggestion #118668 Score: 0

    DragonEngineer
    Participant

    Close the topic :/

    in reply to: Rules Update Request #118662 Score: 0

    DragonEngineer
    Participant

    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.

    in reply to: Another Java App. #118635 Score: 0

    DragonEngineer
    Participant

    The 2nd one sometimes is buggy

    in reply to: Another Java App. #118623 Score: 0

    DragonEngineer
    Participant

    Good luck in becoming better in Java.

    Once you are better at it, you can try…
    – Solve quadratic equation with gradient at a certain point

    View post on imgur.com

    and…
    – A game
    (In this example it is a game of survival using basic concepts like repetitions, selections, arrays and methods and parameters)

    View post on imgur.com

    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 resource

    For 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 resource

    Every 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 points

    The 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 points

    The 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


    DragonEngineer
    Participant

    I 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.

Viewing 15 posts - 346 through 360 (of 519 total)
 Posted by at
Do NOT follow this link or you will be banned from the site!