<blockquote>
<p><strong>How can we locate the code for an online poker game in version 0.1.0 of Bitcoin</strong></p>
</blockquote>
<p>The article you linked to, refers to <a href="https://sourceforge.net/p/bitcoin/code/1/tree//trunk/uibase.cpp" rel="nofollow noreferrer">https://sourceforge.net/p/bitcoin/code/1/tree//trunk/uibase.cpp</a></p>
<p>At line 6 is a comment</p>
<pre><code> // C++ code generated with wxFormBuilder (version Apr 16 2008)
</code></pre>
<p>At line 1592 there is</p>
<pre><code>CPokerLobbyDialogBase::CPokerLobbyDialogBase(wxWindow* parent, wxWindowID id, const wxString&amp; title, const wxPoint&amp; pos, const wxSize&amp; size, long style) : wxFrame(parent, id, title, pos, size, style)
</code></pre>
<hr />
<blockquote>
<p><strong>how can we verify that this code is indeed an online poker game?</strong></p>
</blockquote>
<p>Below line 1592 you can find many lines containing poker related stuff such as</p>
<ul>
<li>Deal Me Out</li>
<li>Deal Hand</li>
<li>Fold</li>
<li>Call</li>
<li>Raise</li>
</ul>
<p>It is vanishingly unlikely that these are not Poker related. Note that this is only small fragments of the user interface for a poker game. It is not, by a long long way, <em>all</em> the code for an online poker game.</p>
<hr />
<p><strong>Cause?</strong></p>
<p>Whether this is genuine or a hoax I can't say. It does appear in several different repositories of the original source code. It looks to me like some user-interface layout definitions included by mistake from an unrelated project or accidentally left from experimentation when learning how to use wxFormBuilder.</p>
<hr />
<p><strong>Related sources</strong></p>
<ul>
<li><a href="https://bitcoin.stackexchange.com/q/21964/13866">Where can I access the original, Satoshi written Bitcoin code?</a></li>
<li><a href="https://www.google.com/search?q=original+bitcoin+source+code+nakamoto" rel="nofollow noreferrer">https://www.google.com/search?q=original+bitcoin+source+code+nakamoto</a></li>
</ul>

CC BY-SA 4.0
2023-03-22T15:39:30.873Z
Thank you very clear, I did a grep poker on the directory but didnt go deeper
Saxtheowl
CC BY-SA 4.0
2023-07-24T14:48:13.603Z
Any ideas on what the initial intent of this code was for besides, "by mistake from an unrelated project or accidentally left from experimentation when learning how to use wxFormBuilder?"  What made you reach this conclusion?
adam2k
CC BY-SA 4.0
2023-07-24T15:22:47.437Z
@Adam: A) I see no other plausible explanation. I guess Satoshi Nakamoto, or a collaborator, was interested in poker and had started writing a poker game in C. They might not have finished the Poker project but continued to use wxWindow tooling on the Bitcoin project.  B) The absence of any mention of poker features in the Bitcoin whitepaper or other Bitcoin-related communications by Satoshi Nakamoto. Plus what I like to think of as experience as a software developer and common sense - though you are free to discount all that of course.
RedGrittyBrick
CC BY-SA 4.0
2023-03-22T10:55:45.817Z
2023-03-22T12:06:40.367Z
2023-03-22T12:06:40.367Z
RedGrittyBrick
<p>How can we locate the code for an online poker game in <a href="https://github.com/Maguines/Bitcoin-v0.1" rel="nofollow noreferrer">version 0.1.0</a> of Bitcoin, which <a href="https://cointelegraph.com/magazine/bitcoin-poker-payment-satoshi-nakamoto/" rel="nofollow noreferrer">multiple articles on the internet</a> claim was included by Satoshi Nakamoto? Furthermore, how can we verify that this code is indeed an online poker game ?</p>

<bitcoin-core><satoshi-nakamoto><source-code>
Early version of bitcoin and poker
Saxtheowl
# Early version of bitcoin and poker

(Asked by: username_0 on 2023-03-22)

How can we locate the code for an online poker game in [version 0.1.0](https://github.com/Maguines/Bitcoin-v0.1) of Bitcoin, which [multiple articles on the internet](https://cointelegraph.com/magazine/bitcoin-poker-payment-satoshi-nakamoto/) claim was included by Satoshi Nakamoto? Furthermore, how can we verify that this code is indeed an online poker game ?

**Tags:** bitcoin-core, satoshi-nakamoto, source-code


---

## 1 answers

### Answer by username_1 on 2023-03-22. Score: 3 | Accepted answer

> **How can we locate the code for an online poker game in version 0.1.0 of Bitcoin**

The article you linked to, refers to <https://sourceforge.net/p/bitcoin/code/1/tree//trunk/uibase.cpp>

At line 6 is a comment

```
 // C++ code generated with wxFormBuilder (version Apr 16 2008)

```

At line 1592 there is

```
CPokerLobbyDialogBase::CPokerLobbyDialogBase(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style) : wxFrame(parent, id, title, pos, size, style)

```

---

> **how can we verify that this code is indeed an online poker game?**

Below line 1592 you can find many lines containing poker related stuff such as

* Deal Me Out
* Deal Hand
* Fold
* Call
* Raise

It is vanishingly unlikely that these are not Poker related. Note that this is only small fragments of the user interface for a poker game. It is not, by a long long way, *all* the code for an online poker game.

---

**Cause?**

Whether this is genuine or a hoax I can't say. It does appear in several different repositories of the original source code. It looks to me like some user-interface layout definitions included by mistake from an unrelated project or accidentally left from experimentation when learning how to use wxFormBuilder.

---

**Related sources**

* [Where can I access the original, Satoshi written Bitcoin code?](https://bitcoin.stackexchange.com/q/21964/13866)
* <https://www.google.com/search?q=original+bitcoin+source+code+nakamoto>

> **Comments:**
> **username_0**: Thank you very clear, I did a grep poker on the directory but didnt go deeper  
> **username_2**: Any ideas on what the initial intent of this code was for besides, "by mistake from an unrelated project or accidentally left from experimentation when learning how to use wxFormBuilder?"  What made you reach this conclusion?  
> **username_1**: @Adam: A) I see no other plausible explanation. I guess Satoshi Nakamoto, or a collaborator, was interested in poker and had started writing a poker game in C. They might not have finished the Poker project but continued to use wxWindow tooling on the Bitcoin project.  B) The absence of any mention of poker features in the Bitcoin whitepaper or other Bitcoin-related communications by Satoshi Nakamoto. Plus what I like to think of as experience as a software developer and common sense - though you are free to discount all that of course.  

---

