Git Product home page Git Product logo

poke-guide-cli's Introduction

poke-guide-cli

A Read–eval–print loop (REPL) program that helps you play Pokemon Showdown by providing a comprehensive guide about your Pokemon and the opponent's Pokemon

Usage

Go files

  • Clone this repo
  • Install Go
  • Run the following command in the repo
go run .

Binaries/Executables

Linux/macOS

[TBU]

Windows

Highlight Commands

help: Display available commands of the program

info [pokemon]: Display information about the Pokemon

versus [pokemon1] [pokemon2]: Display the 2x Damage moves that the 2 Pokemon can inflict on each other

Development

Feel free to clone this and modify the program as you like. Mention me if possible ;)

If you'd like to request a feature or chat with me, create an issue or send me an email :)

Testing

go test

poke-guide-cli's People

Contributors

keduong33 avatar

Watchers

 avatar

poke-guide-cli's Issues

Add tests

  • Learn how to test on GoLang
  • Test the commands

1st binaries release

| For people who want to use it, they need an executable

  • Release binaries for:
    • Windows
    • Linux/MacOS

Setup GH Actions

  • Setup GitHub Actions to ensure the whole development process is smooth & well tested

Refactor/Improve Versus Command

  • Display which Pokemon is the defender in the versus printout
  • Use receiver functions instead of getMoveAgainstThePokemon(attacker, defender)

Initial README

  • Demo
  • How to install
  • Link executables
  • Basic Information

Research - Better way of handling errors

| Right now we are passing the error from the root (deep inside functions ) to the centre point and displaying it

  • Is there a better way to do it?
    • Display the error straight from the root? Cause a chain of returning err upward could be troublesome but it is good for early escaping

Versus Command

  • versus pokemon1 pokemon2 will spit out:
    • moves that pokemon1 can use to attack pokemon2
    • moves that pokemon1 are weak against pokemon2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.