mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
Add a link to play blocks game
This commit is contained in:
parent
324e8653fb
commit
82d4dfeab0
@ -55,10 +55,10 @@ table.examples iframe {
|
||||
<td class="code"><pre><code>// <b>{{.Name}}</b>
|
||||
|
||||
{{.Source}}</code></pre></td>
|
||||
{{if ne .Name "blocks"}}
|
||||
<td><iframe src="example/{{.Name}}.html" width="{{.Width}}" height="{{.Height}}"></iframe></td>
|
||||
{{if eq .Name "blocks"}}
|
||||
<td>Click to play!<br><a href="example/blocks.html"><img src="blocks.png" width="{{.Width}}" height="{{.Height}}"></a></td>
|
||||
{{else}}
|
||||
<td>(TODO: Implement link)</td>
|
||||
<td><iframe src="example/{{.Name}}.html" width="{{.Width}}" height="{{.Height}}"></iframe></td>
|
||||
{{end}}
|
||||
</tr>
|
||||
{{end}}
|
||||
|
BIN
_docs/public/blocks.png
Normal file
BIN
_docs/public/blocks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -71,7 +71,7 @@ table.examples iframe {
|
||||
|
||||
// Please read example/blocks/main.go and example/blocks/blocks/*.go</code></pre></td>
|
||||
|
||||
<td>(TODO: Implement link)</td>
|
||||
<td>Click to play!<br><a href="example/blocks.html"><img src="blocks.png" width="256" height="240"></a></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user