hoprnet / hopr-community

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

Build Tic-tac-toe using HOPR #173

Open nionis opened 1 year ago

nionis commented 1 year ago

Challenge Description

Build tic-tac-toe using HOPR.

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: $200

gitcoinbot commented 1 year ago

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


This issue now has a funding of 2963.7681 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) charlie85270 has applied to start work _(Funders only: approve worker | reject worker)_.

Hello ! I'm JS developer since 8 years and I'm interested to develop a tic-tac-toe for you ! I seen others projects examples on HOPR (https://github.com/hoprnet/hopr-community/tree/main/projects) and I can develop a tic tac to game ! 2) ginanisque has applied to start work _(Funders only: approve worker | reject worker)_.

I like to play tic tac toe to relax and have previously written a tic tac toe browser game. I would love to build one with HOPR. I have had a look at the HOPR dapp standard and I am confident I can build this project to your satisfaction. 3) rohitkumarvarma-369 has been approved to start work.

I've already built a web2 version of tic-tac-toe with two mode, dual player manual version and an AI opponent version based on the Mini-Max algorithm. I will start working to implement the logic on the hopr network and deliver it within 3 days. Hence I request you to accept my proposal for this bounty. 4) vanoob404 has applied to start work _(Funders only: approve worker | reject worker)_.

I want to participate! I will make p2p tic tac toe on hopr! 5) libengd has applied to start work _(Funders only: approve worker | reject worker)_.

I did chat in hopr with my previous app so I have experience in using hopr for communications. Will be happy to work on this one! 6) navaneeth-arch has applied to start work _(Funders only: approve worker | reject worker)_.

hi this is navaneeth , i would like to do this requested job ,would like to know more about the task 7) rysertio has applied to start work _(Funders only: approve worker | reject worker)_.

I would like to make a simple html5 canvas game that interfaces with hopr.

Learn more on the Gitcoin Issue Details page.

h1xten commented 1 year ago

@nionis @thewanderingeditor I applied but was never approved, but I still created a tic-tac-toe dapp using hopr, in case the person who was approved does not do the job, please consider my work. I hope for your understanding. https://github.com/h1xten/tic-tac-toe-hopr

thewanderingeditor commented 1 year ago

@rohitkumarvarma-369 Any news here? If not then I'd open this up to another hunter

Rohitkumarvarma-369 commented 1 year ago

Hey, apologies for not getting back to you sooner, I was busy with some other work, and didn't get enough time to work on the problem. Thanks for getting back to me, maybe some other hunter can get started with the problem.

On Fri, Sep 30, 2022 at 11:38 PM thewanderingeditor < @.***> wrote:

@Rohitkumarvarma-369 https://github.com/Rohitkumarvarma-369 Any news here? If not then I'd open this up to another hunter

— Reply to this email directly, view it on GitHub https://github.com/hoprnet/hopr-community/issues/173#issuecomment-1263870222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS6NM4KLRGE2OYMFKQN6RL3WA4UDHANCNFSM576GX6RA . You are receiving this because you were mentioned.Message ID: @.***>

h1xten commented 1 year ago

@Rohitkumarvarma-369 Any news here? If not then I'd open this up to another hunter

Sorry to bother you, as the previous participant refused to complete the task, can I apply for this task? I did this task already more than a month ago, left a comment and a link to the repository above

thewanderingeditor commented 1 year ago

Hey @h1xten. Cool. I'll shift the bounty over to you ASAP. Looking at your PR, it looks like it was developed for API v1, not v2? You can find the HOPR dApp standard here.

h1xten commented 1 year ago

Привет@h1xten. Прохладный. Я переведу награду на вас как можно скорее. Глядя на ваш PR, похоже, что он был разработан для API v1, а не v2? Вы можете найти стандарт HOPR dApp здесь .

Thank you for your reply. I used API v2. For example you can check endpoints here: https://github.com/h1xten/tic-tac-toe-hopr/blob/main/src/store/peerSlice/peerApi.js

thewanderingeditor commented 1 year ago

Привет@h1xten. Прохладный. Я переведу награду на вас как можно скорее. Глядя на ваш PR, похоже, что он был разработан для API v1, а не v2? Вы можете найти стандарт HOPR dApp здесь .

Thank you for your reply. I used API v2. For example you can check endpoints here: https://github.com/h1xten/tic-tac-toe-hopr/blob/main/src/store/peerSlice/peerApi.js

Ah awesome thanks. I just looked quickly at the readme. I'll do some proper testing over the next few hours and get back to you.

h1xten commented 1 year ago

Привет@h1xten. Прохладный. Я переведу награду на вас как можно скорее. Глядя на ваш PR, вероятно, что он был разработан для API v1, а не v2? Вы можете найти стандарт HOPR dApp здесь .

Спасибо за ваш ответ. Я использовал API v2. Например, вы можете проверить конечные точки здесь: https://github.com/h1xten/tic-tac-toe-hopr/blob/main/src/store/peerSlice/peerApi.js .

Ах здорово спасибо. Я просто быстро просмотрел ридми. Я проведу необходимые тесты в течение следующих нескольких часов и свяжусь с вами.

Wonderful. Waiting for your reply :)

h1xten commented 1 year ago

@thewanderingeditor Hello, is there any new information on my project?

h1xten commented 1 year ago

Привет@h1xten. Прохладный. Я переведу награду на вас как можно скорее. Глядя на ваш PR, похоже, что он был разработан для API v1, а не v2? Вы можете найти стандарт HOPR dApp здесь .

Thank you for your reply. I used API v2. For example you can check endpoints here: https://github.com/h1xten/tic-tac-toe-hopr/blob/main/src/store/peerSlice/peerApi.js

Ah awesome thanks. I just looked quickly at the readme. I'll do some proper testing over the next few hours and get back to you.

Hello, is there any new information on my project?

thewanderingeditor commented 1 year ago

Hi @h1xten. Can you apply via https://gitcoin.co/issue/29283 so I can approve you and then pay out the bounty via gitcoin?

h1xten commented 1 year ago

Hi @h1xten. Can you apply via https://gitcoin.co/issue/29283 so I can approve you and then pay out the bounty via gitcoin?

There is already someone working on this bounty. image

h1xten commented 1 year ago

@thewanderingeditor I think you should reject the previous worker

nionis commented 1 year ago

@thewanderingeditor I tried to remove @Rohitkumarvarma-369 from the bounty but couldn't, I suspect I can't do that, maybe a permissions issue? - please follow up with @h1xten once it's re-assigned

thewanderingeditor commented 1 year ago

@thewanderingeditor I think you should reject the previous worker

Done. Can you try applying now?

h1xten commented 1 year ago

@thewanderingeditor I think you should reject the previous worker

Done. Can you try applying now?

I did

gitcoinbot commented 1 year ago

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


Work for 2963.7681 HOPR (200.00 USD @ $0.06/HOPR) has been submitted by:

  1. @h1xten

@thewanderingeditor please take a look at the submitted work:


h1xten commented 1 year ago

@thewanderingeditor I did everything and submit the work, check it please

h1xten commented 1 year ago

@nionis @thewanderingeditor I did everything, what should I do next?

thewanderingeditor commented 1 year ago

Hi @h1xten. Sorry for the delay. I'm back from holidays now and will check your work this afternoon. Thanks for your patience.

h1xten commented 1 year ago

Hi @h1xten. Sorry for the delay. I'm back from holidays now and will check your work this afternoon. Thanks for your patience.

Well, thank you 🙂

thewanderingeditor commented 1 year ago

@h1xten This looks great, but it seems to be using API v1 rather than v2? You can learn more here.

If you're not sure how to update to API v2, I'd suggest visiting our Discord for help. This issue has come up with some of the other game bounties.

h1xten commented 1 year ago

@h1xten This looks great, but it seems to be using API v1 rather than v2? You can learn more here.

If you're not sure how to update to API v2, I'd suggest visiting our Discord for help. This issue has come up with some of the other game bounties.

I used API v2. For example you can check endpoints here: https://github.com/h1xten/tic-tac-toe-hopr/blob/main/src/store/peerSlice/peerApi.js It's not API v2?

h1xten commented 1 year ago

@h1xten This looks great, but it seems to be using API v1 rather than v2? You can learn more here.

If you're not sure how to update to API v2, I'd suggest visiting our Discord for help. This issue has come up with some of the other game bounties.

You already asked me about the API. I think I used the API correctly using your documentation.

image image

thewanderingeditor commented 1 year ago

@h1xten My understanding is that under API v2 the user shouldn't have to specify the WS endpoint.

We need these games to run on the HOPR Playground which only provides users with API url and API key as parameters.

h1xten commented 1 year ago

@h1xten My understanding is that under API v2 the user shouldn't have to specify the WS endpoint.

We need these games to run on the HOPR Playground which only provides users with API url and API key as parameters.

Ah, okay, I'll redo it and write it, okay?

thewanderingeditor commented 1 year ago

Awesome. Thanks!

h1xten commented 1 year ago

@thewanderingeditor I redid it, you can check the repository again, and I also attach a demo video: https://youtu.be/2J9CHP9QKRQ

thewanderingeditor commented 1 year ago

Thanks! Checking now.

thewanderingeditor commented 1 year ago

Hi @h1xten. Thanks for the update. Connection was smooth and it looks great. Just a couple of things:

h1xten commented 1 year ago

Hi @thewanderingeditor , thanks for the detailed answer. Since I started developing the application when I was not selected yet, so I did not take into account all the moments of the game, but now I will be happy to fix it and add everything that you indicated in the message, thanks for understanding )

h1xten commented 1 year ago

Hello @thewanderingeditor , I did everything that you indicated in the message above, in addition, I added a message that the user was invited to the game and he can just accept it. Check it please. Demo: https://youtu.be/a6D-QCBszhs

h1xten commented 1 year ago

Hi @thewanderingeditor sorry to bother you, what about this update?

thewanderingeditor commented 1 year ago

Hi. Thanks for the fixes. Don't have full access to my GitHub this weekend, but will check tomorrow morning.

On Sat, 12 Nov 2022, 17:45 Alexander, @.***> wrote:

Hi @thewanderingeditor https://github.com/thewanderingeditor sorry to bother you, what about this update?

— Reply to this email directly, view it on GitHub https://github.com/hoprnet/hopr-community/issues/173#issuecomment-1312511352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG77WY73BHAVMPSDNQHEBPDWH63TFANCNFSM576GX6RA . You are receiving this because you were mentioned.Message ID: @.***>

h1xten commented 1 year ago

Hi. Thanks for the fixes. Don't have full access to my GitHub this weekend, but will check tomorrow morning. On Sat, 12 Nov 2022, 17:45 Alexander, @.> wrote: Hi @thewanderingeditor https://github.com/thewanderingeditor sorry to bother you, what about this update? — Reply to this email directly, view it on GitHub <#173 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG77WY73BHAVMPSDNQHEBPDWH63TFANCNFSM576GX6RA . You are receiving this because you were mentioned.Message ID: @.>

Oh, okay thanks, sorry to bother you over the weekend

thewanderingeditor commented 1 year ago

Awesome work @h1xten! I particularly like the automatic invite popup. Everything seems to work great now. Will pay out on this this afternoon.

h1xten commented 1 year ago

Awesome work @h1xten! I particularly like the automatic invite popup. Everything seems to work great now. Will pay out on this this afternoon.

Thank you :)