GithubHelp home page GithubHelp logo

3gbywork / pythonchallengestrategy Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.28 MB

learn Python Go and PowerShell

Home Page: https://3gbywork.github.io/PythonChallengeStrategy/

License: MIT License

Go 33.25% PowerShell 36.79% Python 28.03% CSS 1.93%
pythonchallenge hugo-site gh-pages python3 powershell go

pythonchallengestrategy's Introduction

PythonChallengeStrategy

learn Python Go and PowerShell

访问GitHub Pages以查看攻略

  • 关于Go执行方法:

由于需要科学上网才能使用 Go Playground, 所以就研究了通过反射来执行对应关卡代码的方法。

需要注意将关卡的解决方法定义成Challenge结构的方法,形式如下:

func (c *Challenge) Challengexxx() {
    // body
}

xxx为关卡的三位数字形式,不足左边补0。如:001、002。

因为依赖第三方包,所以在构建前请运行以下命令:

go get github.com/kolo/xmlrpc

PS src\static> go build -o .\Code\Go\Challenge.exe .\Code\Go:编译.\Code\Go目录下的源文件,并在该目录生成Challenge.exe。对源文件更改后需要执行这条命令。

PS src\static> .\Code\Go\Challenge.exe -l 0:通过命令行参数指定要执行关卡的代码。-l代表level,后面是关卡数字。

  • 关于PowerShell脚本执行策略:

如果出现“无法加载文件 xxx,因为在此系统上禁止运行脚本。”

则需要以管理员权限运行命令行,执行Set-ExecutionPolicy RemoteSigned,并在提示后输入Y确认。

  • 查看官方的攻略:

将当前关卡地址的pc替换为pcc,就会得到上一关的攻略地址。或者访问Wiki主页


如果引用图片侵权,请联系我[email protected]

pythonchallengestrategy's People

Contributors

3gbywork avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.