1.微软å
¬å¸çº¸çç¨åºä»£ç
2.JAVAèè纸ç
3.游戏源码有什么出售平台?纸牌
å¾®è½¯å ¬å¸çº¸çç¨åºä»£ç
è¿ä¸ªçº¸çç¨åºçæºä»£ç ï¼åªæå¾®è½¯å ¬å¸çä¸é¨ç软件å¼å人åç¥éäºãå«çä»»ä½äººæ¯æ æ³ç¥éçãå 为软件æºä»£ç æ¯å ·æä¿å¯æ§çã
JAVAèè纸ç
æ们åä½ä¸ï¼åäºä¸ªæå çç游æï¼ä¸è¿ä¸æ¯èèçï¼æ²¡ææ·»å åºçè§åç®æ³çãåç»ä½ ï¼ä½ èªå·±ççãã纸çè¦èªå·±ä¸ï¼æååæ¹æ0--çæ°åï¼èé¢ååæ¹ærear,横åèé¢æ¹ærearheng.jpg
package com;
import java.awt.Color;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class puke implements MouseListener,ActionListener{
public JFrame frame=new JFrame("æå çåç");
public JButton button=new JButton("Start");
public JPanel pbutton=new JPanel();
public JPanel north=new JPanel();
public JPanel west=new JPanel();
public JPanel south=new JPanel();
public JPanel east=new JPanel();
public JPanel middle=new JPanel();
public Container container=frame.getContentPane();
public static JLabel[] l=new JLabel[];
public static JLabel[] ll =new JLabel[];
@SuppressWarnings("unchecked")
public static Set set=new HashSet();
public static JLabel[] l1=new JLabel[];
public static JLabel[] l2 =new JLabel[];
public static JLabel[] l3 =new JLabel[];
public static JLabel[] l4 =new JLabel[];
public static JLabel[] ll1 =new JLabel[];
public static JLabel[] ll2 =new JLabel[];
public static JLabel[] ll3 =new JLabel[];
public static JLabel[] ll4=new JLabel[];
boolean gstar=false;
int nn=ll.length;
int n=l.length;
int s=0;
int x=0,y=0;
@SuppressWarnings("unchecked")
public puke(){
frame.setBounds(0, 0, , );
container.setLayout(null);
north.setLayout(null);
west.setLayout(null);
south.setLayout(null);
east.setLayout(null);
north.setBounds(, 0, , );
north.setBackground(Color.GREEN);
west.setBounds(0,,,);
west.setBackground(Color.RED);
south.setBounds(,,,);
south.setBackground(Color.PINK);
east.setBounds(, , , );
east.setBackground(Color.BLUE);
pbutton.setBounds(, ,, );
middle.setBounds(, , , );
middle.setBackground(Color.YELLOW);
for(int i=0;i<l.length;i++){
l[i]=new JLabel(new ImageIcon("src/com/rear.jpg"));
l[i].setBounds(+x,,,);
container.add(l[i]);
x+=5;
}
for(int i=0;i<ll.length;i++){
ll[i]=new JLabel(new ImageIcon("src/com/"+i+".jpg"));
set.add(ll[i]);
}
button.addActionListener(this);
pbutton.add(button);
container.add(north);
container.add(west);
container.add(south);
container.add(east);
container.add(pbutton);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
compare();
}
@SuppressWarnings({ "unchecked", "unchecked" })
public void play()//ååæ£é¢å¼ ç
{
Iterator<JLabel> it = set.iterator();
while(it.hasNext()){
for(int i=0;i<;i++){
if(nn%4==0){
ll1[i]=(JLabel) it.next();
nn--;}
if(nn%4==3){
ll2[i]=(JLabel) it.next();
nn--;}
if(nn%4==2){
ll3[i]=(JLabel) it.next();
nn--;}
if(nn%4==1){
ll4[i]=(JLabel) it.next();
nn--;}
}
}
}
public void move()//å®æåçï¼æ¯ä½ç©å®¶å¾å°å¼ ç
{
play();
int i;
while(n!=0){
for(i=0;i<;i++){
if(s<){
if(n%4==0){
l1[i]=l[s];
l1[i].setBounds(-+x, , , );
north.add(l1[i]);
try {
Thread.sleep(3);
} catch (InterruptedException e) {
e.printStackTrace();
}
x+=;
s++;
n--;
continue;
}
if(n%4==3){
l[s].setIcon(new ImageIcon("src/com/rearheng.jpg"));
l2[i]=l[s];
l2[i].setBounds(, +y,,);
west.add(l2[i]);
try {
Thread.sleep(3);
} catch (InterruptedException e) {
e.printStackTrace();
}
y+=;
s++;
n--;
continue;
}
if(n%4==2){
l[s].setIcon(null);
l3[i]=ll3[i];
l3[i].setBounds(-x, , , );
l3[i].addMouseListener(this);
south.add(l3[i]);
try {
Thread.sleep(3);
} catch (InterruptedException e) {
e.printStackTrace();
}
x+=;
s++;
n--;
continue;
}
if(n%4==1){
l[s].setIcon(new ImageIcon("src/com/rearheng.jpg"));
l4[i]=l[s];
l4[i].setBounds(,-y,,);
east.add(l4[i]);
try {
Thread.sleep(3);
} catch (InterruptedException e) {
e.printStackTrace();
}
y+=;
s++;
n--;
continue;
}
}
}
}
button.setVisible(false);
pbutton.remove(button);
container.remove(pbutton);
container.add(middle);
frame.repaint();
}
public void mouseClicked(MouseEvent e)//ç¹å»é¼ æ åºç
{
for(int i=0;i<;i++){
if(gstar){
middle.remove(l3[i]);
middle.remove(ll1[i]);
middle.remove(ll2[i]);
middle.remove(ll4[i]);
if(e.getSource()==l3[i]){
north.remove(l1[i]);
west.remove(l2[i]);
east.remove(l4[i]);
south.remove(l3[i]);
middle.add(l3[i]);
middle.add(ll1[i]);
middle.add(ll2[i]);
middle.add(ll4[i]);
l3[i].setBounds(l3[i].getBounds().x, , , );
ll1[i].setBounds(, , , );
ll2[i].setBounds(, , , );
ll3[i].setBounds(, , , );
ll4[i].setBounds(, , , );
frame.repaint();
}
}
}
}
public void mouseEntered(MouseEvent e) //éæ©è¦åºçç
{
for(int i=0;i<;i++){
if(gstar){
if(e.getSource()==l3[i]){
l3[i].setBounds(l3[i].getBounds().x, l3[i].getBounds().y-, , );
}
}
}
}
public void mouseExited(MouseEvent e) {
for(int i=0;i<;i++){
if(gstar){
if(e.getSource()==l3[i]){
l3[i].setBounds(l3[i].getBounds().x,l3[i].getBounds().y+, , );
}}}
}
public puke getthis(){
return this;
}
public void mousePressed(MouseEvent e) {
}
public void mouseReleased(MouseEvent e) {
}
public static void main(String[]args){
new puke();
}
public class TestThread extends Thread{
private puke g=null;
public TestThread(puke g){
this.g=g;
}
public void run() {
while(true){
g.move();
try {
Thread.sleep();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}
}
public void actionPerformed(ActionEvent e) //ç¹å»æé®äºä»¶
{
if(e.getSource()==button){
gstar=true;
TestThread t= new TestThread(this);
t.start();
}
}
@SuppressWarnings("unchecked")
public int compare(){
JLabel[] lab=new JLabel[ll.length];
String[] str=new String[ll.length];
set.toArray(lab);
for(int l=0;l<ll.length;l++){
str[l]=lab[l].getIcon().toString();
System.out.println(str[l]);
}
return n;
}
}
游戏源码有什么出售平台?
深圳网狐是一家提供棋牌游戏源码销售的中国公司。成立于年,升级专长于互联网棋牌游戏的源码研发、设计和运营。纸牌深圳网狐已推出多款知名游戏,升级溯源码005燕窝具有一定的源码uuYY通道源码市场影响力。
您可以从网狐购买单一的纸牌棋牌游戏源码,或者购买包含多种游戏的升级游戏大厅平台。我们的源码游戏涵盖各国本土的棋类、纸牌类游戏,纸牌如Rummy、升级Teen Patti、源码Truco、纸牌textrank实现源码Ludo、升级Domino、源码Bingo、Keno等,简单爬虫源码以及各种类型的Slots游戏,如海盗系列、万圣节系列、复活节系列、值班登记源码足球系列、动物森林系列。
网狐游戏源码采用最新技术,包括完整的游戏逻辑和优秀界面设计,具有跨平台和高度可定制化等优点。源码支持多种支付方式,拥有强大后台管理系统,便于数据统计和操作管理。
网狐提供一系列服务,包括专业技术支持、自定义开发和定制化设计,以及高效的售后运维等。如果您需要购买高质量的棋牌游戏源码,可联系网狐-Foxuc Games,获取产品介绍和价格信息。期待与您的合作,实现双方共赢。