Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Connect Four using HOPR #172

Open
nionis opened this issue Aug 29, 2022 · 16 comments
Open

Build Connect Four using HOPR #172

nionis opened this issue Aug 29, 2022 · 16 comments
Assignees

Comments

@nionis
Copy link
Contributor

nionis commented Aug 29, 2022

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

  • Source code must be open-sourced and available on GitHub.
  • Submission must be functional and working.
  • Submission must be your own original work or a fork of an existing project which has been substantially changed.
  • When applicable, must follow the HOPR dApp standard.

Developing HOPR

What is HOPR?

Find out more about HOPR at the following links:

This contest is part of The Bounty Program

@thewanderingeditor
Copy link
Contributor

Suggested prize: $400

@gitcoinbot
Copy link

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
Copy link

gitcoinbot commented Sep 2, 2022

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:

  1. 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
Copy link

piens1 commented Sep 8, 2022

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

@thewanderingeditor
Copy link
Contributor

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

That's correct

@gitcoinbot
Copy link

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
Copy link
Contributor

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

@libengd
Copy link

libengd commented Oct 11, 2022

@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
Copy link

libengd commented Oct 11, 2022

@libengd
Copy link

libengd commented Oct 11, 2022

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

@thewanderingeditor
Copy link
Contributor

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
Copy link

libengd commented Oct 11, 2022

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
Copy link

libengd commented Oct 12, 2022

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

@thewanderingeditor
Copy link
Contributor

@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
Copy link

libengd commented Oct 12, 2022

@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
Copy link
Contributor Author

nionis commented Oct 27, 2022

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

@tolbrino tolbrino removed this from CORE Roadmap Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants