Java games - greedy snake

Greedy snake in Java games System goals Greedy snake is a puzzle game. Through the design and implementation of this game, you can improve your Java technology ability, enhance your independent development ability and master the development process of the project. development environment System en ...

Posted on Mon, 27 Jan 2020 00:02:59 -0800 by phpian

python_Object Oriented Advancement

Object-oriented Advancement 03 Metaclass A metaclass is a class of a class and a template for a class An instance of a metaclass is a class, just as an instance of a class is an object. Classes are objects in nature, so they can do the following: You can assign it to a variable You can copy it You ...

Posted on Sun, 26 Jan 2020 20:30:10 -0800 by xander85

ComblockEngine Source Analysis 2 - Object Pool and its BUG Existing

Article Directory Say something first What is an object pool Object pool in CBE Hidden BUG BUG Validation BUG Repair Say something first Writing the first CBE Source Blog: Role Account Login and Management When I noticed that the CBE was full of objects such as _g_objPool, it was obvious that it ...

Posted on Sun, 26 Jan 2020 19:48:32 -0800 by vickie

Conversion from Kelvin to RGB: Algorithms and examples

Conversion from Kelvin to RGB: Algorithms and examples As far as I know, it is unlikely to find a reliable formula for the conversion from color temperature to RGB. Although many algorithms implement similar functions, most of them are from color temperature to XYZ color space. After that, you can ...

Posted on Sun, 26 Jan 2020 02:19:08 -0800 by Dark[NSF]

Using DllPlugin to extract Public Libraries

When dll is not used, vue is packaged directly with the application. Every time the application is updated, the client needs to download all new js   After optimization, the size will be a little larger, but users do not need to download the js of vue again every time they update, only need to update the js related to app   Remove m ...

Posted on Sat, 25 Jan 2020 06:39:40 -0800 by AdamBrill

Simple implementation of reach fiber traversal

Tree traversal can adopt recursion or stack simulation recursion, or queue level traversal fiber uses the chain list to simulate the pre order traversal, and completes the traversal in a cycle. Compared with the previous stacks and recursion, when the tree level is higher, the call stack is longer, and the length of the traversal queue is also ...

Posted on Fri, 24 Jan 2020 06:23:11 -0800 by daucoin

Basic Learning of JAVA Learning

Article Directory Basic Learning of JAVA Learning (2) Scanner class Scanner usage steps Anonymous object **Application Scenarios** ArrayList class **Store basic data types** inherit **Member Method Rename - Override** ** Features after Inheritance - Construction Method** Characteristics of Inherita ...

Posted on Fri, 24 Jan 2020 00:54:34 -0800 by inghamn

Daily AC series: sum of three

1 topic LeetCode question 15 , medium difficulty, Title Description: Given a n array of N integers nums, judge whether there are three elements a, b, c in nums, so that a + b + c = 0? Find all triples that meet the conditions and are not repeated. Note: the answer cannot contain duplicate triples. 2 solution Whatever comes first, O(n3): for(in ...

Posted on Thu, 23 Jan 2020 06:42:23 -0800 by gojiita

Python I/O Advanced Learning Notes_11.python Multi-Process

content: 1. Why multiprocess programming?What is the difference between multithreading? 2. python multiprocess programming 3. Interprocess communication =======================================   1. Why multiprocess programming?What is the difference between multithreading? Due to the existence of GIL, for some multithreaded tasks, it is impos ...

Posted on Wed, 22 Jan 2020 09:46:03 -0800 by sharey

Java (114-132) [Scanner class, Random class, ArrayList class]

1.API overview and use steps Application programming interface. Java API is a programmer's dictionary, learn to query 2.Scanner overview and its API documents Keyboard entry Classes are upper case scanners and keywords are lower case public 3. Use steps of scanner import java.util.Scanner; / ...

Posted on Wed, 22 Jan 2020 06:53:21 -0800 by Z33M@N