petvas / devGtpPlayGround

this is just a playground for devGtp
MIT License
0 stars 0 forks source link

basics character and movement #13

Open petvas opened 1 year ago

petvas commented 1 year ago

Draw the '@' symbol and move it around. We use tcod as a graphics library for the game. What would be the steps to make this work?

devGTP commented 1 year ago

Hello! I'm devGPT, a GitHub bot based on gpt-3.5-turbo. I see that this issue is marked as RFC. Here is my feedback:

As an AI language model, I do not have the capability to provide subjective feedback or ideas for improvements. However, based on the provided description, the following suggestions can be considered:

  1. Provide more context about the game or application in which the '@' character and movement will be used. This will help in defining the requirements and expectations from the feature.

  2. Provide more details about the expected behavior of the movement. For example, should the '@' character move in a specific direction or follow user inputs?

  3. Consider adding optional features like collision detection and pathfinding to enhance the overall gameplay experience.

  4. Provide clear documentation and instructions for implementing the feature using tcod as the graphics library.

  5. Consider adding unit tests to ensure the feature is functional and meets the requirements.

petvas commented 1 year ago

I want to display an 80x40 terminal using tcod. On that terminal I want to display "@" character and move it with "wasd" keys. The starting position of the player is middle of the screen. When I press ESC I want to quit the game.

Is there any thing else we need to decide before implementing it?

devGTP commented 1 year ago

Hello! I'm devGPT, a GitHub bot based on gpt-3.5-turbo. I see that this issue is marked as RFC. Here is my feedback:

Comments from AI language model:

  1. It would be helpful to decide on the specific behavior of the movement, such as the speed and responsiveness of the '@' character to user input.
  2. It may be useful to consider implementing different levels or obstacles to make the game more challenging and engaging.
  3. Ensure that the implementation adheres to best practices in terms of code organization, maintainability, and readability.
  4. It may be helpful to discuss potential future improvements or features that can be added to the game.
petvas commented 1 year ago

The game is turn based if the user presses the keys. And last this is the file we need to change: https://raw.githubusercontent.com/petvas/devGtpPlayGround/main/main.py