clear-code-projects / Python-Monsters

Files for a Pokémon inspired RPG
72 stars 27 forks source link

ISSUES, AND A LOT OF THEM! #2

Open ShivamKR12 opened 3 months ago

ShivamKR12 commented 3 months ago

In the Game class, the create_dialog method is called with a character argument, but the DialogTree class does not accept a character argument in its constructor. In the Monster class, the get_stat method returns the base stat multiplied by the level, but the get_stats method returns the base stats without multiplying by the level. In the Monster class, the get_info method returns a tuple of tuples, but the MonsterSprite class expects a tuple of three values. In the MonsterSprite class, the animate method does not check if the state is 'idle' before setting the adjusted_frame_index. In the MonsterSprite class, the activate_attack method does not check if the target_sprite is not None before setting the current_attack. In the MonsterOutlineSprite class, the update method does not check if the monster_sprite is not None before killing the sprite. In the MonsterNameSprite class, the update method does not check if the monster_sprite is not None before killing the sprite. In the MonsterLevelSprite class, the update method does not check if the monster_sprite is not None before killing the sprite. In the MonsterStatsSprite class, the update method does not check if the monster_sprite is not None before killing the sprite. In the AttackSprite class, the animate method does not check if the frame_index is less than the length of the frames before setting the image. In the TimedSprite class, the update method does not check if the sprite is not None before killing the sprite. In the Game class, the run method does not handle the case where the user closes the window. In the Game class, the run method does not handle the case where the user presses the escape key to quit the game. In the Game class, the run method does not handle the case where the user presses the space key to open the monster index. In the Game class, the run method does not handle the case where the user presses the return key to close the monster index. In the Game class, the run method does not handle the case where the user presses the arrow keys to move the player. In the Game class, the run method does not handle the case where the user presses the space key to interact with a character. In the Game class, the run method does not handle the case where the user presses the space key to start a battle. In the Game class, the run method does not handle the case where the user presses the space key to defend in a battle. In the Game class, the run method does not handle the case where the user presses the space key to switch monsters in a battle. In the Game class, the run method does not handle the case where the user presses the space key to catch a monster.

ShivamKR12 commented 3 months ago

In the Game class, the create_dialog method is called with a character argument, but the DialogTree class does not accept a character argument in its constructor. In the Monster class, the get_stat method returns the base stat multiplied by the level, but the get_stats method returns the base stats without multiplying by the level. In the Monster class, the get_info method returns a tuple of three values, but the MonsterSprite class expects a tuple of two values in the update method. In the MonsterSprite class, the animate method sets the adjusted_frame_index attribute, but it is not used in the update method. In the MonsterOutlineSprite class, the update method checks if the monster_sprite is in any groups, but it should check if the monster_sprite is in the same groups as the MonsterOutlineSprite. In the MonsterNameSprite class, the update method fills the image with white color, but it should fill it with the background color. In the MonsterLevelSprite class, the update method fills the image with white color, but it should fill it with the background color. In the MonsterStatsSprite class, the update method fills the image with white color, but it should fill it with the background color. In the AttackSprite class, the animate method sets the image attribute, but it is not used in the update method. In the TimedSprite class, the update method does not do anything. In the Game class, the run method does not handle the QUIT event. In the Game class, the run method does not update the all_sprites group. In the Game class, the run method does not draw the all_sprites group. In the Game class, the run method does not handle the KEYDOWN event for the RETURN key to open the monster index. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to open the dialog. In the Game class, the run method does not handle the KEYDOWN event for the UP and DOWN keys to navigate the monster index. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to select a monster in the monster index. In the Game class, the run method does not handle the KEYDOWN event for the RETURN key to close the monster index. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to start a battle. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to select an attack in the battle. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to switch monsters in the battle. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to defend in the battle. In the Game class, the run method does not handle the KEYDOWN event for the SPACE key to catch a monster in the battle. In the Game class, the run method does not handle the KEYDOWN event for the ESCAPE key to pause the game. In the Game class, the run method does not handle the KEYDOWN event for the ESCAPE key to resume the game. In the Game class, the run method does not handle the KEYDOWN event for the ESCAPE key to quit the game. In the Game class, the run method does not handle the MOUSEBUTTONDOWN event for the left mouse button to interact with objects. In the Game class, the run method does not handle the MOUSEBUTTONDOWN event for the right mouse button to open the monster index. In the Game class, the run method does not handle the MOUSEBUTTONDOWN event for the middle mouse button to pause the game. In the Game class, the run method does not handle the MOUSEMOTION event to update the mouse position. In the Game class, the run method does not handle the MOUSEWHEEL event to scroll the monster index. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the A button to interact with objects. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the B button to open the monster index. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the X button to pause the game. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the Y button to quit the game. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the left shoulder button to scroll the monster index up. In the Game class, the run method does not handle the JOYBUTTONDOWN event for the right shoulder button to scroll the monster index down. In the Game class, the run method does not handle the JOYAXISMOTION event for the left joystick to move the player. In the Game class, the run method does not handle the JOYAXISMOTION event for the right joystick to rotate the player. In the Game class, the run method does not handle the JOYHATMOTION event for the hat to move the player. In the Game class, the run method does not handle the VIDEORESIZE event to resize the window. In the Game class, the run method does not handle the ACTIVEEVENT event to activate or deactivate the window. In the Game class, the run method does not handle the QUIT event to quit the game. In the Game class, the run method does not handle the WINDOWEVENT event to handle window events. In the Game class, the run method does not handle the USEREVENT event to handle custom events. In the Game class, the run method does not handle the DROPFILE event to handle dropped files. In the Game class, the run method does not handle the DROPTEXT event to handle dropped text. In the Game class, the run method does not handle the DROPBEGIN event to handle the beginning of a drop. In the Game class, the run method does not handle the DROPCOMPLETE event to handle the completion of a drop. In the Game class, the run method does not handle the JOYBALLMOTION event to handle joystick ball motion. In the Game class, the run method does not handle the JOYDEVICEADDED event to handle joystick device added. In the Game class, the run method does not handle the JOYDEVICEREMOVED event to handle joystick device removed. In the Game class, the run method does not handle the VIDEORESIZE event to handle video resize. In the Game class, the run method does not handle the VIDEOEXPOSE event to handle video expose. In the Game class, the run method does not handle the AUDIODEVICEADDED event to handle audio device added. In the Game class, the run method does not handle the AUDIODEVICEREMOVED event to handle audio device removed. In the Game class, the run method does not handle the FINGERMOTION event to handle finger motion. In the Game class, the run method does not handle the FINGERDOWN event to handle finger down. In the Game class, the run method does not handle the FINGERUP event to handle finger up. In the Game class, the run method does not handle the MULTIGESTURE event to handle multi gesture. In the Game class, the run method does not handle the TEXTEDITING event to handle text editing. In the Game class, the run method does not handle the TEXTINPUT event to handle text input. In the Game class, the run method does not handle the WINDOWENTER event to handle window enter. In the Game class, the run method does not handle the WINDOWLEAVE event to handle window leave. In the Game class, the run method does not handle the WINDOWFOCUSLOST event to handle window focus lost. In the Game class, the run method does not handle the WINDOWFOCUSGAINED event to handle window focus gained. In the Game class, the run method does not handle the WINDOWMINIMIZED event to handle window minimized. In the Game class, the run method does not handle the WINDOWRESTORED event to handle window restored. In the Game class, the run method does not handle the WINDOWMOVED event to handle window moved. In the Game class, the run method does not handle the WINDOWRESIZED event to handle window resized. In the Game class, the run method does not handle the WINDOWMAXIMIZED event to handle window maximized. In the Game class, the run method does not handle the WINDOWCLOSE event to handle window close. In the Game class, the run method does not handle the WINDOWHIDDEN event to handle window hidden. In the Game class, the run method does not handle the WINDOWSHOWN event to handle window shown. In the Game class, the run method does not handle the WINDOWEXPOSED event to handle window exposed. In the Game class, the run method does not handle the WINDOWTAKEFOCUS event to handle window take focus. In the Game class, the run method does not handle the WINDOWHITTEST event to handle window hit test. In the Game class, the run method does not handle the WINDOWMOVED event to handle window moved. In the Game class, the run method does not handle the WINDOWRESIZED event to handle window resized. In the Game class, the run method does not handle the WINDOWMAXIMIZED event to handle window maximized. In the Game class, the run method does not handle the WINDOWCLOSE event to handle window close. In the Game class, the run method does not handle the WINDOWHIDDEN event to handle window hidden. In the Game class, the run method does not handle the WINDOWSHOWN event to handle window shown. In the Game class, the run method does not handle the WINDOWEXPOSED event to handle window exposed. In the Game class, the run method does not handle the WINDOWTAKEFOCUS event to handle window take focus. In the Game class, the run method does not handle the WINDOWHITTEST event to handle window hit test. In the Game class, the run method does not handle the WINDOWCLOSED event to handle window closed. In the Game class, the run method does not handle the WINDOWDESTROYED event to handle window destroyed. In the Game class, the run method does not handle the WINDOWUPDATE event to handle window update. In the Game class, the run method does not handle the WINDOWRESTORED event to handle window restored. In the Game class, the run method does not handle the WINDOWMINIMIZED event to handle window minimized. In the Game class, the run method does not handle the WINDOWMAXIMIZED event to handle window maximized. In the Game class, the run method does not handle the WINDOWFULLSCREEN event to handle window fullscreen. In the Game class, the run method does not handle the WINDOWLEAVEFULLSCREEN event to handle window leave fullscreen. In the Game class, the run method does not handle the WINDOWENTERFULLSCREEN event to handle window enter fullscreen. In the Game class, the run method does not handle the WINDOWFOCUSLOST event to handle window focus lost. In the Game class, the run method does not handle the WINDOWFOCUSGAINED event to handle window focus gained. In the Game class, the run method does not handle the WINDOWMOVED event to handle window moved. In the Game class, the run method does not handle the WINDOWRESIZED event to handle window resized. In the Game class, the run method does not handle the WINDOWMAXIMIZED event to handle window maximized. In the Game class, the run method does not handle the WINDOWCLOSE event to handle window close. In the Game class, the run method does not handle the WINDOWHIDDEN event to handle window hidden. In the Game class, the run method does not handle the WINDOWSHOWN event to handle window shown. In the Game class, the run method does not handle the WINDOWEXPOSED event to handle window exposed. In the Game class, the run method does not handle the WINDOWTAKEFOCUS event to handle window take focus. In the Game class, the run method does not handle the WINDOWHITTEST event to handle window hit test. In the Game class, the run method does not handle the WINDOWCLOSED event to handle window closed. In the Game class, the run method does not handle the WINDOWDESTROYED event to handle window destroyed. In the Game class, the run method does not handle the WINDOWUPDATE event to handle window update. In the Game class, the run method does not handle the WINDOWRESTORED event to handle window restored. In the Game class, the run method does not handle the WINDOWMINIMIZED event to handle window minimized. In the Game class, the run method does not handle the WINDOWMAXIMIZED event to handle window maximized. In the Game class, the run method does not handle the WINDOWFULLSCREEN event to handle window fullscreen. In the Game class, the run method does not handle the WINDOWLEAVEFULLSCREEN event to handle window leave fullscreen. In the Game class, the run method does not handle the WINDOWENTERFULLSCREEN event to handle window enter fullscreen. In the Game class, the run method does not handle the WINDOWFOCUSLOST event to handle window focus lost. In the Game class, the run method does not handle the WINDOWFOCUSGAINED event to handle window focus gained. In the Game class, the run method does not handle the WINDOWMOVED event to handle window moved. In the Game class, the run method does not handle the WINDOWRESIZED event to handle window resized.

ShivamKR12 commented 3 months ago

@clear-code-projects