Lv.1
box3创作者 https://dao3.fun/profile/74 | tobylai.fun
签名:闲逛
在 【小游戏】假如你的头像和楼下的头像打起来了,谁会赢? 中回复
哔哔哔
与“太阳”分不出胜负
我不停的拷贝自己(被程序员做的)
还一直不停的发到互联网多个地方
2020-07-26T20:55:37 点赞:0
在 【小游戏】假如你的头像和楼下的头像打起来了,谁会赢? 中回复
和三维图表打一块两败俱伤啊...
我的技能:
【停止程序】 【关机】
你的:
【一关别人也一块ko】【一停止程序自己和别人ko】
结果:同归于尽(doge)
2020-07-26T21:05:58 点赞:0
在 【小游戏】假如你的头像和楼下的头像打起来了,谁会赢? 中回复
与楼下代码攻击的抗衡
import sys
import re
import math
from PyQt5.Qt import * # noqa
from PyQt5.Qsci import QsciScintilla
from PyQt5 import Qsci
from PyQt5.Qsci import QsciLexerPython
class CodeEditor(QsciScintilla):
def __init__(self, parent=None):
super().__init__(parent)
self.setUtf8(True)
self.font = QFont()
self.font.setFamily("Microsoft YaHei UI")
self.font.setPointSize(13)
self.font.setFixedPitch(True)
self.setFont(self.font)
self.fontmetrics = QFontMetrics(self.font)
self.setFont(self.font)
self.setMarginsFont(self.font)
#set line number width
self.setMarginWidth(0, self.fontmetrics.width(str(self.lines())) + 5)
self.setMarginLineNumbers(0, True)
#mesure line
self.setEdgeMode(QsciScintilla.EdgeLine)
self.setEdgeColumn(9000)
self.setEdgeColor(QColor("#BBB8B5"))
#brace match
self.setBraceMatching(QsciScintilla.StrictBraceMatch)
#current line color
self.setCaretLineVisible(True)
self.setCaretLineBackgroundColor(QColor("#2D2D2D"))
self.setCaretForegroundColor(QColor("white"))
#selection color
self.setSelectionBackgroundColor(QColor("#606060"))
self.setSelectionForegroundColor(QColor("#FFFFFF"))
#table relative
self.setIndentationsUseTabs(True)
self.setIndentationWidth(5)
self.setTabIndents(True)
self.setAutoIndent(True)
self.setBackspaceUnindents(True)
self.setTabWidth(5)
#indentation guides
self.setIndentationGuides(True)
#line number margin color
self.setMarginsBackgroundColor(QColor("#272727"))
self.setMarginsForegroundColor(QColor("#CCCCCC"))
#folding margin
self.setFolding(QsciScintilla.PlainFoldStyle)
self.setMarginWidth(2,12)
#marker
self.markerDefine(QsciScintilla.Minus,QsciScintilla.SC_MARKNUM_FOLDEROPEN)
self.markerDefine(QsciScintilla.Plus,QsciScintilla.SC_MARKNUM_FOLDER)
self.markerDefine(QsciScintilla.Minus,QsciScintilla.SC_MARKNUM_FOLDEROPENMID)
self.markerDefine(QsciScintilla.Plus,QsciScintilla.SC_MARKNUM_FOLDEREND)
#marker define color
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDEREND)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDEREND)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDEROPENMID)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDEROPENMID)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDERMIDTAIL)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDERMIDTAIL)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDERTAIL)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDERTAIL)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDERSUB)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDERSUB)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDER)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDER)
self.setMarkerBackgroundColor(QColor("#FFFFFF"),QsciScintilla.SC_MARKNUM_FOLDEROPEN)
self.setMarkerForegroundColor(QColor("#272727"),QsciScintilla.SC_MARKNUM_FOLDEROPEN)
self.setFoldMarginColors(QColor("#272727"),QColor("#272727"))
#whitespace
self.setWhitespaceVisibility(QsciScintilla.WsInvisible)
self.setWhitespaceSize(2)
"""
the default margin is:
0: line number,width is not zero
1: width is zero
2: folding, width is not zero
"""
self.setMarginWidth(1,0)
#set lexer
self.lexer = QsciLexerPython()
self.lexer.setFont(self.font)
self.lexer.setColor(QColor("#ffffff"))
self.setLexer(self.lexer)
#high light code
#太多了无法显示
2020-07-26T21:16:34 点赞:0
在 【跟风小游戏】 中回复
打一块分不出胜负
50.0000000000000000000000099%
0.0000000000000000000000099是你来帮忙的
(doge
2020-07-27T16:46:14 点赞:0
在 【 屏 蔽 词 】我对于屏 蔽词的一些看法和建议 中回复
持续更新
world.onPlayerJoin(async({entity})=>{
world.say('有人来了');
})
//async 是 asyn c2020-07-27T22:13:09 点赞:0
在 【 屏 蔽 词 】我对于屏 蔽词的一些看法和建议 中回复
受害的代码帖子
https://shequ.codemao.cn/community/298261
https://shequ.codemao.cn/community/317001
2020-07-27T22:17:25 点赞:1
在 CODESRA对“天一护法”在编程猫社区论坛发布称编程猫抄袭Scratch的法律回应与看法 中回复
研究代码后发现bcm是blockly…
和sc似乎没关系
2020-07-28T10:29:13 点赞:1