Online board editor

Sort:
abstractcube

By the way @vickalan, I think I'm ready to start our game. Do you mind making the game thread? You can play white.

vickalan

Thanks for making the changes, including adjusting the size of the guard and size of uploaded images.

Just for curiosity, I did a short test of uploaded images, before and after. (Luckily I still had one image saved before cube's last program edit). These are highly cropped images of a board (small enough to be shown at natural size):

1) Before program change:


2) After program change:


3) For reference - a snippet of a normal chessboard from chess.com

It appears the current image-size for Cube's program is about the same as chess.com. I think the resolution looks fine, and if displaying an entire board the images will be scaled down even smaller (to fit on screen).

Thanks again, for the program improvements. If I have any more suggestions I'll definitely let you know.happy.png

vickalan
abstractcube wrote:

By the way @vickalan, I think I'm ready to start our game. Do you mind making the game thread? You can play white.

Yes I'll be happy to start the thread. Unfortunately I'm getting ready to travel for about one-week. I'll probably have to call for vacation in two games I'm in (I'm leaving tomorrow morning).

I'll either start the thread tonight (in which case I'll play slow, or not at all). If I don't get to it, please allow one week, and I'll be back here as normal.

abstractcube

Sure, no problem.

vickalan

Sorry for the delay. I'm home, but still busy. I'll plan to start our game either tonight or tomorrow.

vickalan

abstractcube, our game is (here). I ended up giving you White. I forgot you offered it to me. It's non-rated as we decided earlier. Also notice we've added castling (Tug and others suggested it for some time). Good luck!

abstractcube

Cool, thanks.

icositetrachoron

Nice! Is this open source? (sorry, I haven't been active for the last few months)

abstractcube

I just made a github repo: https://github.com/acou12/infinite-chess

It's not the highest quality as this was my first real javascript project, but I hope to improve the readability and organization at some point.

HighEldar

This is really cool dude

abstractcube

Thanks!

Naviary

This is really cool! What coding language is this in?

abstractcube

Thanks! It's written in javascript, with the help of a graphics library called "p5.js" (https://p5js.org/). You can check out the source on github (https://github.com/acou12/infinite-chess) if you're interested (although it still needs some work).

abstractcube

I've been thinking about a new way to save and retrieve games that could make both modding and analysis easier.

Essentially, you can create a game, and it will have a unique link associated with it. (something like https://aydenmc.com/chess/infinite/a9Jd1x) Anyone could view this link, see the history of the game and its current position, and even create a copy of it for personal analysis. However, only the mod will be able to make moves in the game. They'll do this with a password they set when creating the game.

This would completely remove the need for game codes; you'd still need the link to the game, but you could easily save it in your bookmarks or something. This would also make it extremely easy to analyse a game without having to replay moves in the game. Let me know what you think.

karunya_kopparam

how to edit

 

abstractcube

If anyone still uses this, aydenmc.com is down right now and will be for a few days. Use https://acou12.github.io/infinite-chess/ instead.

Ilampozhil25

an idea-

add numbers for other rank/files other than multiples of 5

 

Ilampozhil25

also you could support castling

Ilampozhil25

also a simple right click should erase all arrows and square highlights, these are just quality improvement suggestions

abstractcube

Thanks for the feedback! Right now just right clicking highlights a square, so I wouldn't be able to use that, but I definitely agree that there should be an easy way to clear them out. I'm thinking maybe double left click could work. For castling, I'm working on completely rewriting most of the program to make it easier to add special moves like that (as well as en passant), so I'm going to wait until that's done for that. The newer version should also be a lot smoother, and I might even be able to add online play at some point (and maybe even an engine).