Code Monkey home page Code Monkey logo

chesslise's Introduction

When you give up, you don't give up on the problem, but your hope

chesslise's People

Contributors

breaktos avatar ddugovic avatar dependabot[bot] avatar jalpp avatar pad918 avatar tors42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chesslise's Issues

Get Quotes from famous player/masters

Implement a command ex: /quote or /inspire that pulls a famous chess quote and sends it in embed format. The quotes can be limited here up to 100 or 200 less the better

/play support for variants

Add variant support under play or create special command /play variant

Requirements:

User must be able to select on levels

Level 1 - select variant
Level 2 select game mode
Level 3 select time control
Finally return game challenge URL

Must be able to use some sort of looping or hash map for mapping variant to game mod etc

Migrate getNewGame() into DifferentGamegen()

Migrate old code in Game.java for getNewGame to DifferentGamegen, getNewGame uses string mapping, which is not efficient (legacy code) migrate to DifferentGamegen() for /play button logic in Main.java

Implement Chess image quotes /imagequote command

Implement /imagequote command that will send back and chess image quote from a famous master player, this is easy to do, can be local 100 to 200 images which can be cached for better performance

/move support playing white side

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
right now /move only shows engine playing on black side, need it play white side also

Describe the solution you'd like
A clear and concise description of what you want to happen.
probably input flag for side selection

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I'm not sure but any here is good here

Additional context
Add any other context or screenshots about the feature request here.

n/a

Puzzle solution interaction

Provide some way to guess solution for daily puzzle command, right now bot shows the solution but want to implement guess feature

Document Lise

need help with documentation for Lise

Javadoc entire classes and modules

have better Contributions.md

Chesslise sunset


Today I checked the star count went from 16 stars -> 13 stars for https://github.com/jalpp/Chesslise I am fully dishonoured by this act of previous stars givers, I have decided that Chesslise will be sunset on April 2 2024 @ 7:30 PM EST, this comes after a very long thoughts, but I have realized the competitors of chesslise, such as Lichess-chatbot, Lichess bot, Chesscord and many more won't stop upgrading and lise will be isolated in dark times. I am greatly thankful to the chess community here, and the many devs who helped me build it. As they say, whatever started must come to an end, and the end for chesslise is near. Cheers,

Feature Request: Create threads for /move

whenever the user wants to play a game with Lise in Discord, the current channel gets clogged with spam Discord messages, this can be resolved by creating a thread each time /move is run and running the game within this thread. Now, the question of how Lise can keep track of which thread to respond to the next move function is tricky. Any help is appreciated

Add rate limit to following commands

Add rate limit using AntiSpam.java on following commands

command logic is in Main.java

/dailypuzzlecc -> 1 puzzle in 24 hours like /dailypuzzle

/profilecc -> 10 profiles in 24 hours

should be able to detect spam and notify user for spam limits

Optimize puzzle and other commands to be handled via reply than getChannel()

the problem in later discord update .getHook() is mainly used rather than .getChannel(), the current commands with the deferreply are not optimized for .reply which is a clear bug for upcoming main feature user installed apps. so lets just make the current codebase as soft as possible for .replies than gethooks because hooks are not really best for puzzle solving and other more loaded logic

Context menus for commands

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

on mobiles some discord users can't see slash commands, thus need some way to solve this

Describe the solution you'd like
A clear and concise description of what you want to happen.

context menus for non input message logic for user to pick

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

no alts Lise can't support text commands sadly

Additional context
Add any other context or screenshots about the feature request here.

User needs commands to run without slashs

implement /setting commands

implement a setting command /settings that allows users to set chess board piece type/board color, set ratelimit times, and set embed color for all embeded bot output, this feature is important yet complicated so any help with demo command would help.

Add challenge friend button in /play

add challenge friend button in /play which outputs a modal containing self username field and target friend username field upon submission output classic /play buttons where the user chooses casual/rated, time control, and finally generates the URL. the process is not that hard as you can look at the code in Game.java and the helper modules directory. I'm giving this a good first issue. It's a wanted feature so any help is appreciated.

Add more chess rules in /learnchess command

Is your feature request related to a problem? Please describe.
/learnchess command only has basic info how the piece moves etc, does not cover castling, piece promotion, basic openings, and other lessons for beginners

Describe the solution you'd like
provide content for /learnchess command, and PR containing new embeds that must go in CommandInfo.java

Select Menus for /play

Slowly migrate to select menus than buttons, select menus provide more value picking and better UX

Buttons are good, but finding balance is ok too.

Implement some sort of menu creation object and do it efficiently

Idea here is less codebase more efficient

Feature Request

add help embed or chess help button under help that shows basics of chess like how pieces move etc. Very easy feel free to create PR

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.