前出しじゃんけんはAPIを自作すれば自動対戦が可能なゲームです。 ただ、ゲームが動いているサーバとAPIのサーバが異なる場合、ブラウザが通信をブロックすることがあります。そのときに必要になるのが中継サーバです。ここではCORSプロキシと呼びます。
You've made it past the JavaScript chapter. Congratulations. Now we get to talk about the languages where people tend to think they don't have CORS problems — right ...
このシリーズでは、「前出しじゃんけん」で使える Advice API を、自分で作れるようになることを目指します。 前出しじゃんけんは、ブラウザで開くだけで対戦できるゲームです。 このAPIを接続すると、自動で判断してゲームを進められるようになります。
Disclaimer: This software is provided for local development and testing purposes only. It is offered as-is, with no warranty of any kind — express or implied — including but not limited to correctness ...