Game of Pong
美国
游戏gpt游戏

Game of Pong 翻译站点

使用AI副驾驶编码乒乓球游戏

标签:
爱站权重:PC 百度权重移动 百度移动权重

Openai最近发布了私有beta的[codex](https://gpt3demo.com/apps/openai-codex)。 Codex是为[Github Co-Pilot](https://gpt3demo.com/apps/github-copilot)提供动力的AI模型,被称为“您的AI对程序员”。

这项技术有很多炒作(出于充分的理由),但是要更好地了解这种最先进的自动代码生成技术,我们需要研究一个特定的示例。一个很好的例子是可以在几行文本中描述的一个例子,可以通过可视化和在您的专业知识之外的领域中轻松理解,这样您就可以更好地理解“代码co-pilot”的价值非专家。

因此,让我们构建乒乓球游戏!

__first尝试 - 从一般描述中生成代码__

当您在Google上查找“乒乓球游戏”时,您将指向Wikipedia,其中提供了以下描述:

乒乓球是一款模拟乒乓球的二维运动游戏。玩家通过垂直移动屏幕的左侧或右侧来控制游戏内桨。玩家可以与另一个控制第二个桨的球员竞争。玩家使用桨来来回击球。目标是让每个球员在对手面前达到11分。当一个人未能将球归还给另一个时,得分就会得分。
如果您相信流行的媒体[2],您会期望代码生成问题已经完全解决。

在https://medium.com/@bart.theeten/an-popenai-codex-experiment-coding-the-game--game-of-pong---- in-an-ai-co-pilot-461639421882上阅读完整教程

作者:[bart theeten](https://medium.com/@bart.theeten)

原文:

OpenAI recently released [Codex](https://gpt3demo.com/apps/openai-codex) in private beta. Codex is the AI model that powers [GitHub Co-pilot](https://gpt3demo.com/apps/github-copilot), branded as "Your AI pair programmer".

There is much hype about this technology (and for good reasons), but in order to understand this state of the art automatic code generation technology better, we need to look at a specific example. A good example is one that can be described in just a few lines of text, can easily be understood through visualization and in a domain that is outside of your expertise, so you can better appreciate the value a “code co-pilot” brings to non-experts.

So let’s build the game of Pong!

__First Try — Code generation from a general description__

When you look up “the game of pong” on google, you are pointed to WikiPedia, which offers the following description:

Pong is a two-dimensional sports game that simulates table tennis. The player controls an in-game paddle by moving it vertically across the left or right side of the screen. The player can compete against another player controlling a second paddle on the opposing side. Players use the paddles to hit a ball back and forth. The goal is for each player to reach eleven points before the opponent; points are earned when one fails to return the ball to the other.
If you would believe the popular press[2], you would expect that the code generation problem was already entirely solved.

Read the full tutorial at https://medium.com/@bart.theeten/an-openai-codex-experiment-coding-the-game-of-pong-using-an-ai-co-pilot-461639421882

Author: [Bart Theeten](https://medium.com/@bart.theeten)

数据统计

数据评估

Game of Pong浏览人数已经达到336,如你需要查询该站的相关权重信息,可以点击"爱站数据""Chinaz数据"进入;以目前的网站数据参考,建议大家请以爱站数据为准,更多网站价值评估因素如:Game of Pong的访问速度、搜索引擎收录以及索引量、用户体验等;当然要评估一个站的价值,最主要还是需要根据您自身的需求以及需要,一些确切的数据则需要找Game of Pong的站长进行洽谈提供。如该站的IP、PV、跳出率等!

关于Game of Pong特别声明

本站GPT 案例导航提供的Game of Pong都来源于网络,不保证外部链接的准确性和完整性,同时,对于该外部链接的指向,不由GPT 案例导航实际控制,在2023年3月9日 下午10:29收录时,该网页上的内容,都属于合规合法,后期网页的内容如出现违规,可以直接联系网站管理员进行删除,GPT 案例导航不承担任何责任。

相关导航