hoprnet / hopr-community

A selection of awesome HOPR projects.
GNU General Public License v3.0
5 stars 20 forks source link

Build Connect Four using HOPR #172

Open nionis opened 1 year ago

nionis commented 1 year ago

Challenge Description

Build Connect Four using HOPR.

Play should be on a standard 7x6 board by default, but with the option to specify different dimensions or turn on cylinder rules (where connections can be made across the far left and far right columns).

The pieces should use HOPR yellow (#ffffa0) and blue (#0000b4) as colours.

Submission Requirements

Developing HOPR

What is HOPR?

Find out more about HOPR at the following links:

This contest is part of The Bounty Program

thewanderingeditor commented 1 year ago

Suggested prize: $400

gitcoinbot commented 1 year ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 5927.5362 HOPR attached to it as part of the hoprnet fund.

gitcoinbot commented 1 year ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 264 years, 2 months from now. Please review their action plans below:

1) ajand has applied to start work _(Funders only: approve worker | reject worker)_.

It's been a while since I wanted to jump on doing something with HOPR, and I think this would be a very fun opportunity to do it. 2) ginanisque has applied to start work _(Funders only: approve worker | reject worker)_.

I will have a connect four game ready in about four days. I am currently setting up a local hopr node and so far the process has been seamless. Hope to work with you on this. 3) menezesphill has applied to start work _(Funders only: approve worker | reject worker)_.

I want to work in this Bounty. My plans for this Bounty are to create a Connect Four game that:

1) Connect two peers to play Connect Four; 2) Use HOPR API v2 for channel creation and game data messaging;

And, I would like to extend the functionality of the game to:

3) Allow a third-party node to act like an Escrow, allowing players to bet HOPR tokens. Of course, that would be an extra that I would like to throw in, and only if it sounds interesting enough to the HOPR team. 4) vividwood has applied to start work _(Funders only: approve worker | reject worker)_.

Hi, I already built hopr-chess, so should be easy to do. I can use hopr-chess as a template for p2p games and add new features. 5) libengd has been approved to start work.

I will make connect four using hopr. I already know how to use hopr so it will not take much time 6) priyanshujha90 has applied to start work _(Funders only: approve worker | reject worker)_.

I want to make Connect four using HOPR mixnet. I read all documentation of HOPR. 7) gall0x has applied to start work _(Funders only: approve worker | reject worker)_.

It will be fun to make Connect Four game using the Hopr protocol !

Learn more on the Gitcoin Issue Details page.

piens1 commented 1 year ago

As I understand, the one approved for the bounty is the only one permitted to work on it, correct?

thewanderingeditor commented 1 year ago

As I understand, the one approved for the bounty is the only one permitted to work on it, correct?

That's correct

gitcoinbot commented 1 year ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 5927.5362 HOPR (400.00 USD @ $0.06/HOPR) has been submitted by:

  1. @libengd

@thewanderingeditor please take a look at the submitted work:


thewanderingeditor commented 1 year ago

@libengd Any news here? If not I'd open this up to another hunter

libengd commented 1 year ago

@libengd Any news here? If not I'd open this up to another hunter

Hi, what do you mean? I submitted it 22 days ago

libengd commented 1 year ago

https://github.com/libengd/connect-four

libengd commented 1 year ago

It was submitted on gitcoin 22 days ago you can see on gitcoin page

thewanderingeditor commented 1 year ago

Hi @libengd Huge apologies. My original response to your PR doesn't seem to have published. I had a question about the extra stipulations for the task:

Play should be on a standard 7x6 board by default, but with the option to specify different dimensions or turn on cylinder rules (where connections can be made across the far left and far right columns).

Were you able to implement this? I couldn't see how to adjust any gameplay settings. But the experience of playing the base game is very smooth and awesome.

libengd commented 1 year ago

Hi @libengd Huge apologies. My original response to your PR doesn't seem to have published. I had a question about the extra stipulations for the task:

Play should be on a standard 7x6 board by default, but with the option to specify different dimensions or turn on cylinder rules (where connections can be made across the far left and far right columns).

Were you able to implement this? I couldn't see how to adjust any gameplay settings. But the experience of playing the base game is very smooth and awesome.

Hi @thewanderingeditor, looks like haven't noticed this requirement when I was doing it, sorry. I'll update the code today

libengd commented 1 year ago

@thewanderingeditor repo is updated! Added two sliders for dimensions and cylinder rule :)

thewanderingeditor commented 1 year ago

@libengd Awesome. One thing that would be cool is if the second player could just connect and the settings would be applied automatically. At the moment it's possible for players to connect to the same game but with different settings applied, which gets exciting when one player's board fills up and the other still has spaces :)

libengd commented 1 year ago

@libengd Awesome. One thing that would be cool is if the second player could just connect and the settings would be applied automatically. At the moment it's possible for players to connect to the same game but with different settings applied, which gets exciting when one player's board fills up and the other still has spaces :)

Hmm, this is how it should work if I understand you correctly. Can you send screenshot or video of what you mean?

nionis commented 1 year ago

@thewanderingeditor can you follow up with @libengd once you are back from holidays?