游戏王残局简化版

ygopro_编译.html at [5da50c84af]
Login

ygopro_编译.html at [5da50c84af]

File script/ygopro_编译.html artifact a7b4b92a44 part of check-in 5da50c84af


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  <title>ygopro_编译</title>
  <style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}

ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
  <style type="text/css">@media screen and (min-aspect-ratio:1/1) {html {background-color: f8f8f8;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);background-size: 8px 8px;background-position: 0 0, 16px 8px;}body {border: solid #a0a0a0 1px ;border-radius: 20px ;padding: 26px ;margin: 16px ;color: #101010 ;background: linear-gradient(to right, #efefefff, #efefeffc);padding: 2em 11%;line-height: 2.1em;box-shadow: 0px 0px 1px rgba(160, 160, 160, 1), 0px 0px 1px rgba(160, 160, 160, 1);}}h1,h2,h3,h4,h5,h6 {font-size: 1.5em;color: #3F5770;border-bottom: 1px solid #dddddd;margin: 1.2em 0em;}a {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;background-color: white;text-decoration-color: blue;border-radius: 0.2em;}a:visited {color: blue;text-decoration-color: white;}a:active {color: red;}nav ul li {margin: 1.2em 0em;}p::before {}p {margin: 1.2em 0;letter-spacing: 0.15em;}.title {background-color: white;font-size: 2em;text-align: center;}b {background-color: white;list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;border-radius: 0.2em;}details {border-bottom: 1px solid #dddddd;}details > summary {list-style: none;border-right: 0.3em solid #5183C466;border-left: 0.3em solid #5183C466;padding: 0.2em 0.4em;margin-bottom: 0.2em;margin-top: 0.3em;outline: none;border-radius: 0.2em;}pre {background: #f6f6f6;border-left: 0.5em solid #ccc;padding: 0.4em;border-radius: 0.2em;overflow-wrap:break-word;}pre:active {color: red;}code {font-family: "Verdana";}button {background: #ffffff;color: #20894d;}button:active {color: red;}</style>
  <!--[if lt IE 9]>
    <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  <![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">ygopro_编译</h1>
</header>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#前言" id="toc-前言"><span class="toc-section-number">1</span> 前言</a></li>
<li><a href="#新建文件夹" id="toc-新建文件夹"><span class="toc-section-number">2</span> 新建文件夹</a></li>
<li><a href="#编译器" id="toc-编译器"><span class="toc-section-number">3</span> 编译器</a></li>
<li><a href="#lua" id="toc-lua"><span class="toc-section-number">4</span> lua</a></li>
</ul>
</nav>
<h1 data-number="1" id="前言"><span class="header-section-number">1</span> 前言</h1>
<p>来,走起,我们来编译一个小且可用的 ygopro 。</p>
<p>功能不求全,只要有残局功能就够了。</p>
<h1 data-number="2" id="新建文件夹"><span class="header-section-number">2</span> 新建文件夹</h1>
<p>万事第一步,先新建个文件夹……</p>
<p>然后,不做了,等一年后再来看,进度 0%,哈哈,这才是正常轨迹。</p>
<p>上面虽然是玩笑话,但也估摸着是我的真实经历,只不过我这个拖延王拖延了大概六年。</p>
<p>好了,给这个文件夹改名吧。</p>
<p>我则取名叫:</p>
<pre><code>ygopro</code></pre>
<h1 data-number="3" id="编译器"><span class="header-section-number">3</span> 编译器</h1>
<p>编译时,一个很麻烦的东西就是编译器。</p>
<p>很长一段时间,我都不知道到哪里去下编译器。</p>
<p>像这种基础性的东西难道不应该有某某一个人把它们汇总起来让人随便下吗?</p>
<p>后来我发现,诶,还真有,但那人的网站在百度上很难搜。</p>
<p>现在的搜索引擎,早不名副其实了。</p>
<p>我们要下载的编译叫 msvc ,准确点,应该叫 MSVC
。不过我懒得换大小写,后文直接叫 msvc 了。</p>
<h1 data-number="4" id="lua"><span class="header-section-number">4</span> lua</h1>
<p>先下载 lua 的源码:</p>
<pre><code>https://www.lua.org/download.html</code></pre>
<p>直接下最新版本。</p>
<p>顺便一说, lua5.3 有 bug ,性能也不如 lua5.4 。</p>
<p>下完之后,解压,会出现一大堆文件,别怕。</p>
<script>

document.onclick = function(event) {

  var target = event.target

  if (target.tagName == "PRE"
  || target.tagName == "CODE") {
    if (window.getSelection().toString() !== "") {
      return
      }
    var range = document.createRange();
    range.selectNodeContents(target);
    window.getSelection().removeAllRanges();
    window.getSelection().addRange(range);
    var successful = document.execCommand("copy");
    target.removeAttribute("contenteditable");
    window.getSelection().removeAllRanges();
    }

  }

</script>
</body>
</html>