Discord Bot

Today, Mr. Wilmoth opened up a discord user for the class of 2025-2026. Our project for this server is to create, and code a bot for the server.

You got 1 second to guess what this code does.

If you answered ” to make the bot respond lol when the user tells it to laugh “, then you’re correct. In the future, I plan to make this bot tell dad jokes from time to time. Not constantly as it would get annoying real quick. Just more like 99 messages or more after the joke was made. Either that, or making the bot say the ” Crazy? I was crazy once. ” monologue after a user mentions the word ” crazy “.

2d shooter concept

Today, I’m working on a new project. It’s a game that runs on python where you control both a character, and the characters arm. You move the character with WASD(or arrow keys) while you control the arm with a mouse. Whenever you click the mouse, the character will shoot wherever the arm is aiming at.

Concept Drawing

I started this project off by learning the concepts of coding the mouse to do stuff. The smallest thing I came up with is when I click, a blue rectangle appears. That’s it. I swear this will be more interesting than that.

End of the RPG project?

Originally, this post was going to be about fixing the check stats code. However, while I was working on the code, the player file couldn’t be opened back up due to an unexpected error. All I can say is that an error happened, and the file is probably lost for a long time. I can’t really say the project is done for, but it’s likely that I’ll have to move on to something else.

RPG game update 5/3/24

The comment speaks for itself.

Other than that, I’ve added the attacks to the main game, including something to replace the block move.

” Power UP “, aka ” P.UP ” heals, and increases the ally player’s armor and power for the cost of 5 will power. Really, all I did was add an attack, write another check function, and fix the issue where the enemy’s will power doesn’t deplete when the enemy does a will power attack.

RPG game update 4/26/24

Today, I made the code deplete all of the ally players will whenever it uses a will power attack. Only problem is that even though the enemy player also has will and a will power attack, the code doesn’t deplete the enemy’s will whenever it uses its will power attack.

I’ve also rewritten the dead check code. If you, or the enemy is dead, then it’s game, set, match. No unnecessary blows if a man is down.

Unfortunately, I didn’t reach the end of April deadline. Thus, the new due date is set to the end of the school year, meaning June.

Battle Game Update 4/5/24

Before Attack:

After:

I implemented the attack code onto the window. It works as intended except for the fact the hp of the enemy can go into the negatives, which I plan to fix later. As for the block move, It might not exist anymore in favor of something else, like a stat buff. Nothing else to say other than ” Look Ma, this character can live and die now(kinda) “.

Battle Game Update 3/21/24

Today, I created a function that would check if either the enemy, or player was dead. I was planning to move this somewhere, but for now, I’m working on the block moveset. One problem I experienced while working on it is that the enemy blocking the attack would experience more damage than not blocking the attack. This should be relatively easy to fix, but not without thinking. Other than that, coding the game is getting easier than it was when I started. After I fix the issue, I can move on to either completing the other moveset, moving the code to the gui, or fixing other issues in the code.