TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: iOS augmented reality auto-chess game based on Rock Paper Scissors

1 点作者 robomex大约 3 年前

1 comment

robomex大约 3 年前
When experimenting with ways to interact with augmented reality I thought Rock Paper Scissors offered a way for people to play a simple game whose results could then affect augmented reality objects.<p>In Rock Paper Checkmate, people play against the computer and choose their weapon (rock, paper, or scissors) by making the corresponding hand gestures for the camera. If the player wins, a &quot;smart&quot; AI makes a chess move for the player and a &quot;dumb&quot; AI makes a chess move for the computer. If the player loses, the opposite happens. So a game of chess can be autoplayed through multiple bouts of rock paper scissors.<p>Thanks to Steve Barnegren and his SwiftChess library which handles all the underlying chess logic and AI: <a href="https:&#x2F;&#x2F;github.com&#x2F;SteveBarnegren&#x2F;SwiftChess" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SteveBarnegren&#x2F;SwiftChess</a><p>I trained a few image classification and hand pose classification models using large public image datasets but did not achieve the results I wanted. I ended up training a hand pose classification model using a few hundred pictures I took myself. Feedback on whether the hand pose classifier often gets your chosen weapon wrong (e.g. Rock Paper Checkmate thinks you&#x27;re playing Rock when you&#x27;re actually playing Paper) would be appreciated.